Commit Graph
9765 Commits
Author SHA1 Message Date
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
sum2012 d691627a35 oop 2020-06-21 11:36:02 +08:00
sum2012 fe68a21ea7 oop 2020-06-21 11:23:14 +08:00
sum2012 de947a6f61 Fix by @unknownbrackets 2020-06-21 11:21:11 +08:00
sum2012 a6b1f9d1f8 oop 2020-06-21 11:03:04 +08:00
sum2012 2fcb55a772 Add a sceOpenPSID_driver nid
Used in  "Shin Sangoku Musou 6 special" chinese patched game
2020-06-21 11:01:21 +08:00
sum2012 1f37ce65bb Add sysclib_strncmp,sysclib_memmove
Add a memory check in sysclib_strstr
ref:
https://github.com/jpcsp/jpcsp/blob/master/src/jpcsp/HLE/modules/SysclibForKernel.java#L107
2020-06-21 10:24:10 +08:00
sum2012 adf8d5e831 Real support Code Geass: Lost Colors chinese patched version 2020-06-14 09:43:08 +08:00
sum2012 d19ee07ebf Some work in sceKernelPartitionTotalFreeMemSize,sceKernelPartitionMaxFreeMemSize
jpcsp ref:
https://github.com/jpcsp/jpcsp/commit/6d28d8799ce03e926ad8c764fd5deb8de165dc3b

We ignore ePartition now
2020-06-14 09:42:24 +08:00
Henrik Rydgård a2f654686d Merge pull request #12912 from iota97/postshader-cwcheat
Add CWCHEAT for postprocessing
2020-06-13 18:17:20 +02:00
Henrik Rydgård f71cf8f447 Merge pull request #13026 from sum2012/kernel_minor7
Add some ThreadManForKernel nids
2020-06-13 18:05:05 +02:00
sum2012 06b6821406 Add some ThreadManForKernel nids
Used in "Code Geass: Lost Colors" chinese patched game
2020-06-13 21:17:56 +08:00
sum2012 10112fa6a2 Change to @unknownbrackets logic
Avoid warnings
2020-06-13 20:46:35 +08:00
sum2012 d0d2834fc9 oop 2020-06-13 06:58:02 +08:00
sum2012 6913d3942f Add sysclib_strstr
jpcsp ref:
https://github.com/jpcsp/jpcsp/commit/b4158f2ec7fc6db3efb0c0efcaa70df99b3f6b1a
2020-06-13 06:50:12 +08:00
sum2012 d43c1baa19 Add sceKernelStdout 2020-06-07 19:36:12 +08:00