|
@@ -32,7 +32,7 @@
|
|
|
|
|
|
#define GUSregb(position) (* (gusptr+(position)))
|
|
#define GUSregb(position) (* (gusptr+(position)))
|
|
#define GUSregw(position) (*(uint16_t *) (gusptr+(position)))
|
|
#define GUSregw(position) (*(uint16_t *) (gusptr+(position)))
|
|
-#define GUSregd(position) (*(uint16_t *)(gusptr+(position)))
|
|
|
|
|
|
+#define GUSregd(position) (*(uint32_t *)(gusptr + (position)))
|
|
|
|
|
|
/* size given in bytes */
|
|
/* size given in bytes */
|
|
unsigned int gus_read(GUSEmuState * state, int port, int size)
|
|
unsigned int gus_read(GUSEmuState * state, int port, int size)
|