summaryrefslogtreecommitdiff
path: root/src/gfx/init_gu2.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/gfx/init_gu2.c')
-rw-r--r--src/gfx/init_gu2.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gfx/init_gu2.c b/src/gfx/init_gu2.c
index 0bbb064..72a16c8 100644
--- a/src/gfx/init_gu2.c
+++ b/src/gfx/init_gu2.c
@@ -50,7 +50,7 @@ gfx_get_core_freq(void)
OUTW(0xAC1C, 0xFC53);
OUTW(0xAC1C, 0x1201);
- value = (unsigned long)(INW(0xAC1E));
+ value = (unsigned long) (INW(0xAC1E));
return (value);
}
@@ -129,7 +129,7 @@ gfx_get_frame_buffer_size(void)
OUTW(0xAC1C, 0xFC53);
OUTW(0xAC1C, 0x0200);
- value = (unsigned long)(INW(0xAC1E)) & 0xFFl;
+ value = (unsigned long) (INW(0xAC1E)) & 0xFFl;
return (value << 19);
}