summaryrefslogtreecommitdiff
path: root/apps/plugins/rockboy/lcdc.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/plugins/rockboy/lcdc.c')
-rw-r--r--apps/plugins/rockboy/lcdc.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/apps/plugins/rockboy/lcdc.c b/apps/plugins/rockboy/lcdc.c
index 90575bbef8..2a1b094929 100644
--- a/apps/plugins/rockboy/lcdc.c
+++ b/apps/plugins/rockboy/lcdc.c
@@ -47,9 +47,8 @@ void stat_trigger(void)
47 * update the STAT interrupt line. 47 * update the STAT interrupt line.
48 */ 48 */
49 49
50static void stat_change(int stat) 50static void stat_change(unsigned int stat)
51{ 51{
52 stat &= 3;
53 R_STAT = (R_STAT & 0x7C) | stat; 52 R_STAT = (R_STAT & 0x7C) | stat;
54 53
55 if (stat != 1) hw_interrupt(0, IF_VBLANK); 54 if (stat != 1) hw_interrupt(0, IF_VBLANK);