diff options
Diffstat (limited to 'src/main.c')
-rw-r--r-- | src/main.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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 |