From a494a3f00ee3bd35ee9ab76f8cd4f164da080113 Mon Sep 17 00:00:00 2001 From: David Guillen Fandos Date: Thu, 25 Mar 2021 21:02:06 +0100 Subject: Move OAM update flag to a register Fix a small bug in MIPS dynarec that affects non -G0 targets --- main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'main.c') 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) -- cgit v1.2.3