summaryrefslogtreecommitdiffstats
path: root/src/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.c')
-rw-r--r--src/main.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main.c b/src/main.c
index 54a153b..0af41f8 100644
--- a/src/main.c
+++ b/src/main.c
@@ -23,8 +23,8 @@
23 23
24// Display registers. 24// Display registers.
25#define DISP_CTRL *((vu32*)(MEM_IO + 0x0000)) 25#define DISP_CTRL *((vu32*)(MEM_IO + 0x0000))
26#define DISP_STATUS *((vu32*)(MEM_IO + 0x0004)) 26#define DISP_STATUS *((vu16*)(MEM_IO + 0x0004))
27#define DISP_VCOUNT *((vu32*)(MEM_IO + 0x0006)) 27#define DISP_VCOUNT *((vu16*)(MEM_IO + 0x0006))
28 28
29// The first three bits in the DISP_CTRL are used to control the video mode. 29// The first three bits in the DISP_CTRL are used to control the video mode.
30#define DISP_MODE_0 0x0000 30#define DISP_MODE_0 0x0000