summaryrefslogtreecommitdiff
path: root/include/gba
diff options
context:
space:
mode:
authorYamaArashi <shadow962@live.com>2016-09-03 02:20:49 -0700
committerYamaArashi <shadow962@live.com>2016-09-03 02:20:49 -0700
commit8866801ef90e52d541095688782efd9acb27ac2f (patch)
tree2e2f01ebe6a48fae95a0daa5fe1712d059ce5e4e /include/gba
parenta11fe6f83b2983f11b778173b19eddea99b59702 (diff)
make it build
Diffstat (limited to 'include/gba')
-rw-r--r--include/gba/io_reg.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/gba/io_reg.h b/include/gba/io_reg.h
index e01b13c4e..1ef639793 100644
--- a/include/gba/io_reg.h
+++ b/include/gba/io_reg.h
@@ -341,7 +341,7 @@
// I/O registers
-#define REG_DISPCNT (*(vu32 *)REG_ADDR_DISPCNT)
+#define REG_DISPCNT (*(vu16 *)REG_ADDR_DISPCNT)
#define REG_DISPSTAT (*(vu16 *)REG_ADDR_DISPSTAT)
#define REG_VCOUNT (*(vu16 *)REG_ADDR_VCOUNT)