ref: 563a4d774d0214245d07197199a0c91f021ecac0
parent: 364d8222cea403a2a6109640e26cc7131bcb465f
author: allkern <lisandroaalarcon@gmail.com>
date: Thu Jun 29 05:44:40 EDT 2023
Link to PC+8 on BGEZAL/BLTZAL
--- a/.gitignore
+++ b/.gitignore
@@ -8,6 +8,7 @@
sdl2-win32/
sdl2-win64/
test/
+bios/
*.bin
*.dll
*.exe
--- a/psx/cpu.c
+++ b/psx/cpu.c
@@ -425,7 +425,7 @@
DO_PENDING_LOAD;
- R_RA = cpu->pc - 4;
+ R_RA = cpu->pc;
if ((int32_t)s < (int32_t)0) {cpu->pc -= 4;
@@ -440,7 +440,7 @@
DO_PENDING_LOAD;
- R_RA = cpu->pc - 4;
+ R_RA = cpu->pc;
if ((int32_t)s >= (int32_t)0) {cpu->pc -= 4;
--
⑨