Commit Graph
9780 Commits
Author SHA1 Message Date
Henrik Rydgård 1897eed9b4 More buildfixes 2020-07-18 21:43:13 +02:00
Henrik Rydgård 6e6cac6b9b Merge pull request #13154 from hrydgard/memfault-improvements
Show more info on crash screen
2020-07-15 14:27:35 +02:00
Henrik Rydgård 0a2027b447 Merge pull request #13151 from unknownbrackets/save-dialog
Savedata: Correct AM/PM and time/date settings
2020-07-15 13:27:06 +02:00
Henrik Rydgård 8c38d7305e Crash: Show disassembly of the instruction causing the crash, and the symbol name. 2020-07-15 12:38:05 +02:00
Henrik Rydgård 626d173d10 Split the fault handling from MemMap.cpp to MemFault.cpp. 2020-07-15 12:12:57 +02:00
Unknown W. Brackets 500107a540 Savedata: Correct AM/PM and time/date settings.
The defaults and exposed system param values were out of sync.
2020-07-14 18:59:23 -07:00
Henrik Rydgård cb1e0438f9 Fix 2020-07-14 14:39:19 +02:00
Henrik Rydgård 056999a691 Refactor MachineContext.h to reduce ifdefs elsewhere.
Also fixes Windows on ARM64 (at least the build).
2020-07-14 13:47:25 +02:00
Henrik Rydgård f62df94ab2 There's no sigcontext on 64-bit iOS either, apparently. 2020-07-14 11:39:31 +02:00
Henrik Rydgård 893aa29191 Yet another iOS buildfix attempt 2020-07-14 10:34:40 +02:00
Henrik Rydgård f6cc45a96a Another iOS buildfix attempt 2020-07-14 09:31:58 +02:00
Henrik Rydgård 6f97c3d422 Various platform buildfixes 2020-07-14 09:25:59 +02:00
Henrik Rydgård a56f391713 Make fastmem memory exceptions report the exceptions to Core correctly. 2020-07-14 09:25:45 +02:00
Henrik Rydgard 465367bf1b iOS buildfix attempt 2020-07-14 09:25:45 +02:00
Henrik Rydgard 430c3ee6a3 HandleFault: Add missing nullcheck 2020-07-14 09:25:45 +02:00
Henrik Rydgard fdcf4f06f2 Add x64Analyzer to Android.mk. Some minor cleanup 2020-07-14 09:25:45 +02:00
Henrik Rydgård c3016fe6a5 Mac/Linux buildfixes 2020-07-14 09:25:45 +02:00
Henrik Rydgard c988d42b04 ARM/ARM64 instruction analysis, hook up to handler 2020-07-14 09:25:45 +02:00
Henrik Rydgard aa802ecc0f Skip bad reads/writes by the guest executable. 2020-07-14 09:25:45 +02:00
Henrik Rydgard 1fce6de8b1 Simple exception handler so we can ignore accesses that happen within the PSP memory space. 2020-07-14 09:25:45 +02:00
Henrik Rydgård b58ca8af12 Merge pull request #12945 from unknownbrackets/io-timing
Make file open timing a bit more accurate
2020-07-13 13:37:53 +02:00
Unknown W. Brackets fc00b1b972 Kernel: Check thread switch PC in release.
Hopefully won't be noticeable, it's not that hot and very cheap.
2020-07-13 01:51:11 -07:00
Unknown W. Brackets ae224b3893 jit: Add some basic checks in armjit/arm64jit.
Just the simple (and unlikely) case so far...
2020-07-13 01:49:19 -07:00
Unknown W. Brackets b3bf61dde1 x86jit: Trigger exec exceptions.
A common case might be, you're hacking something in the game and you broke
the stack, so you `jr ra` into outer space.
2020-07-12 22:40:25 -07:00
Unknown W. Brackets 3c34c7c456 irjit: Add jump crash checks.
Doesn't seem to have any significant impact on performance.
2020-07-12 22:17:36 -07:00
Unknown W. Brackets 940066db68 Core: Track exception on bad jumps. 2020-07-12 21:59:08 -07:00
Unknown W. Brackets b071db9ec2 Core: Reset exception info on resume/reset.
If you restart the game, it shouldn't still have this (will only show if
you enter debugging, but still.)
2020-07-12 21:29:03 -07:00
Unknown W. Brackets 04c15c82c9 Kernel: Add a bit more thread info on crash. 2020-07-12 21:22:47 -07:00
Henrik Rydgård 1010a07f65 Expose more information on the crash screen (current kernel thread) 2020-07-12 16:47:53 +02:00
Henrik Rydgård 7dcd708fac Address some feedback 2020-07-12 15:25:27 +02:00
Henrik Rydgard 873c11d7f9 Draw a minimal crash dump on the emu screen after a caught crash. 2020-07-12 15:25:21 +02:00
Henrik Rydgård a722dfe0fb Formalize "core excpetions" as a concept 2020-07-12 15:25:21 +02:00
Henrik Rydgård 7208cf6900 Some code reformatting/renaming 2020-07-12 15:25:21 +02:00
Henrik Rydgård 8461ea19b1 Centralize handling of memory exceptions a bit 2020-07-12 15:25:20 +02:00
Henrik Rydgård efc3f4f5e4 Split CORE_ERROR into CORE_BOOT_ERROR and CORE_RUNTIME_ERROR 2020-07-12 15:25:20 +02:00
Henrik Rydgård e184ed368d Kernel: Add a little paranoia check on chained mipscalls.
See #13057
2020-07-12 10:39:25 +02:00
twinaphex 649f12f8ab (Libretro) Buildfixes 2020-07-10 06:48:20 +02:00
Henrik Rydgård 893d26b679 Add some paranoid checks in AfterMatchingMipsCall::run().
Might work around a crash in #13057
2020-07-06 21:24:48 +02:00
Henrik Rydgård 73046239e3 Android: Add option to ignore camera notches when sizing the display.
This is generally what you want, at least on phones with small notches.

Not sure about the most intuitive polarity and name of the setting.. bit
of a shame to create another setting with a negation. But most people
should probably ignore this.
2020-07-05 22:46:25 +02:00
Henrik Rydgård 177d697a15 Revert "Remove the I/O on Thread option - treat it as always on."
This reverts commit 9c40381db0.
2020-07-05 10:37:44 +02:00
TotalCaesar659 833e91516d Change default rendering resolution on Linux to auto 2020-07-04 01:16:36 +03:00
Unknown W. Brackets e6b42f3921 SaveState: Prevent edge case on old save state.
If we load an old save state and it errors, could crash.
2020-06-29 19:40:54 -07:00
Unknown W. Brackets 20dd7db351 SaveState: Make sure to default init net data.
Otherwise, we may crash when loading a save state.
2020-06-29 19:37:55 -07:00
Henrik Rydgård 5f57d4775f Add some excessive null checks to GameScreen::render(), might fix the crash seen in #13057 2020-06-29 22:47:34 +02:00
Henrik Rydgård df6f216056 Disable the "Duplicate frames" feature if frameskip != 0. Works around / Fixes #13068 2020-06-28 22:20:22 +02:00
Henrik Rydgård 63ead85c7f Some paranoid checks in PPGeDraw. Might help the crash seen in #13047. 2020-06-28 21:35:19 +02:00
Henrik Rydgård f9cef5b6b2 Partly clean up SDL resize code, should help #11974 2020-06-24 01:06:01 +02:00
Henrik Rydgård 4bcd8df079 Logging improvements and warning fixes.
(Had a super odd crash that I can't repro anymore in PPGe init...)
2020-06-22 22:46:03 +02:00
Henrik Rydgård 6b6520013f Merge pull request #13039 from sum2012/sceopenpsid_driver_minor
Add a sceOpenPSID_driver nid
2020-06-22 11:56:24 +02:00
Henrik Rydgård 282dfb1b08 Merge pull request #13038 from sum2012/sysclib_minor
Add sysclib_strncmp,sysclib_memmove
2020-06-21 12:49:10 +02:00