diff options
author | David Guillen Fandos | 2021-03-25 21:02:06 +0100 |
---|---|---|
committer | David Guillen Fandos | 2021-03-26 23:13:26 +0100 |
commit | a494a3f00ee3bd35ee9ab76f8cd4f164da080113 (patch) | |
tree | 8d8002c0aa696e8feac09afcd9b3ce8247507ef4 /psp/mips_stub.S | |
parent | 53cc4a2475ebc8cc510dc97fe8db95939230cee9 (diff) | |
download | picogpsp-a494a3f00ee3bd35ee9ab76f8cd4f164da080113.tar.gz picogpsp-a494a3f00ee3bd35ee9ab76f8cd4f164da080113.tar.bz2 picogpsp-a494a3f00ee3bd35ee9ab76f8cd4f164da080113.zip |
Move OAM update flag to a register
Fix a small bug in MIPS dynarec that affects non -G0 targets
Diffstat (limited to 'psp/mips_stub.S')
-rw-r--r-- | psp/mips_stub.S | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/psp/mips_stub.S b/psp/mips_stub.S index 3d046d8..cc3a220 100644 --- a/psp/mips_stub.S +++ b/psp/mips_stub.S @@ -52,6 +52,7 @@ .global reg .global spsr .global reg_mode +.global oam_update # MIPS register layout: @@ -116,7 +117,8 @@ .equ CPU_HALT_STATE, (30 * 4) .equ CHANGED_PC_STATUS, (31 * 4) .equ COMPLETED_FRAME, (32 * 4) -.equ GP_SAVE, (33 * 4) +.equ OAM_UPDATED, (33 * 4) +.equ GP_SAVE, (34 * 4) .equ SPSR_BASE, (0x900) .equ REGMODE_BASE, (0x900 + 24) |