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 /video.c | |
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 'video.c')
-rw-r--r-- | video.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -4429,10 +4429,10 @@ void update_scanline(void) // If OAM has been modified since the last scanline has been updated then // reorder and reprofile the OBJ lists. - if(oam_update) + if(reg[OAM_UPDATED]) { order_obj(video_mode); - oam_update = 0; + reg[OAM_UPDATED] = 0; } order_layers((dispcnt >> 8) & active_layers[video_mode]); |