summaryrefslogtreecommitdiff
path: root/video.c
diff options
context:
space:
mode:
authorAutechre2021-03-27 00:31:51 +0100
committerGitHub2021-03-27 00:31:51 +0100
commit08d2fa1ebe9e259da228dfa5e5086bd5b62c4347 (patch)
tree73d1a6eba45d5ed80a698b254332c8e9de2b7bd2 /video.c
parent53cc4a2475ebc8cc510dc97fe8db95939230cee9 (diff)
parent452ba76ba898c5fc6d176ae8f8e2d77cf15f64a2 (diff)
downloadpicogpsp-08d2fa1ebe9e259da228dfa5e5086bd5b62c4347.tar.gz
picogpsp-08d2fa1ebe9e259da228dfa5e5086bd5b62c4347.tar.bz2
picogpsp-08d2fa1ebe9e259da228dfa5e5086bd5b62c4347.zip
Merge pull request #120 from davidgfnet/master
Fixes and improvements for MIPS and ARM
Diffstat (limited to 'video.c')
-rw-r--r--video.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/video.c b/video.c
index 23cd368..4221f25 100644
--- a/video.c
+++ b/video.c
@@ -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]);