diff options
author | Juan Quintela <quintela@redhat.com> | 2017-04-26 00:37:32 +0200 |
---|---|---|
committer | Gerd Hoffmann <kraxel@redhat.com> | 2017-05-04 09:16:05 +0200 |
commit | 135f5ae1974ccd8e77f004924a5fe7168be1b9eb (patch) | |
tree | bb8f5597c370765440176172e123c80421513c99 /hw/audio/gusemu_hal.c | |
parent | 4bf7792aaedc1f66f94e21c1bae91bb4d208a08d (diff) |
audio: GUSsample is int16_t
Signed-off-by: Juan Quintela <quintela@redhat.com>
Message-id: 20170425223739.6703-20-quintela@redhat.com
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Diffstat (limited to 'hw/audio/gusemu_hal.c')
-rw-r--r-- | hw/audio/gusemu_hal.c | 2 |
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) |