diff options
author | gameblabla | 2019-07-18 02:29:49 +0200 |
---|---|---|
committer | gameblabla | 2019-07-18 02:29:49 +0200 |
commit | a946d159bfc8e85d5ff2bcb08fc940830d5acbf4 (patch) | |
tree | 48891e01bcaa8543677e5b784f394c061957f1f3 | |
parent | 2c6a5df89dfba9a54f3bb09d145ef13081c76bf1 (diff) | |
download | pcsx_rearmed-a946d159bfc8e85d5ff2bcb08fc940830d5acbf4.tar.gz pcsx_rearmed-a946d159bfc8e85d5ff2bcb08fc940830d5acbf4.tar.bz2 pcsx_rearmed-a946d159bfc8e85d5ff2bcb08fc940830d5acbf4.zip |
psxbios: Support other syscalls
Since they don't do anything however, let's just add a default and break;
instead. Interestingly, trying to implement SYS(04h+ can actually crash
the HLE bios. Nocash documentation said that it should crash it
but due to other reasons, it doesn't and returns to main program instead.
-rw-r--r-- | libpcsxcore/psxbios.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libpcsxcore/psxbios.c b/libpcsxcore/psxbios.c index cd2fb0c..288e33b 100644 --- a/libpcsxcore/psxbios.c +++ b/libpcsxcore/psxbios.c @@ -3196,6 +3196,9 @@ void psxBiosException() { case 2: // ExitCritical - enable irq's psxRegs.CP0.n.Status |= 0x404; break; + /* Normally this should cover SYS(00h, SYS(04h but they don't do anything relevant so... */ + default: + break; } pc0 = psxRegs.CP0.n.EPC + 4; |