aboutsummaryrefslogtreecommitdiff
path: root/hw/audio/gusemu_hal.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/audio/gusemu_hal.c')
-rw-r--r--hw/audio/gusemu_hal.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/audio/gusemu_hal.c b/hw/audio/gusemu_hal.c
index 3dd7239a4b..1150fc4426 100644
--- a/hw/audio/gusemu_hal.c
+++ b/hw/audio/gusemu_hal.c
@@ -32,7 +32,7 @@
#define GUSregb(position) (* (gusptr+(position)))
#define GUSregw(position) (*(uint16_t *) (gusptr+(position)))
-#define GUSregd(position) (*(GUSdword *)(gusptr+(position)))
+#define GUSregd(position) (*(uint16_t *)(gusptr+(position)))
/* size given in bytes */
unsigned int gus_read(GUSEmuState * state, int port, int size)