summaryrefslogtreecommitdiff
path: root/main.c
diff options
context:
space:
mode:
authorDavid Guillen Fandos2021-03-25 21:02:06 +0100
committerDavid Guillen Fandos2021-03-26 23:13:26 +0100
commita494a3f00ee3bd35ee9ab76f8cd4f164da080113 (patch)
tree8d8002c0aa696e8feac09afcd9b3ce8247507ef4 /main.c
parent53cc4a2475ebc8cc510dc97fe8db95939230cee9 (diff)
downloadpicogpsp-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 'main.c')
-rw-r--r--main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/main.c b/main.c
index 73371e4..2a82338 100644
--- a/main.c
+++ b/main.c
@@ -158,7 +158,7 @@ u32 update_gba(void)
if((dispstat & 0x01) == 0)
{
u32 i;
- if(oam_update)
+ if(reg[OAM_UPDATED])
oam_update_count++;
if(no_alpha)