diff options
Diffstat (limited to 'apps/plugins/pacbox/hardware.c')
-rw-r--r-- | apps/plugins/pacbox/hardware.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/apps/plugins/pacbox/hardware.c b/apps/plugins/pacbox/hardware.c index f5a7184475..bfdcf39362 100644 --- a/apps/plugins/pacbox/hardware.c +++ b/apps/plugins/pacbox/hardware.c | |||
@@ -26,6 +26,7 @@ | |||
26 | 26 | ||
27 | #include "plugin.h" | 27 | #include "plugin.h" |
28 | #include "hardware.h" | 28 | #include "hardware.h" |
29 | #include "wsg3.h" | ||
29 | 30 | ||
30 | /* The main data for Pacman */ | 31 | /* The main data for Pacman */ |
31 | 32 | ||
@@ -140,7 +141,7 @@ void writeByte( unsigned addr, unsigned char b ) | |||
140 | default: | 141 | default: |
141 | if( addr >= 0x5040 && addr < 0x5060 ) { | 142 | if( addr >= 0x5040 && addr < 0x5060 ) { |
142 | // Sound registers | 143 | // Sound registers |
143 | //SOUND sound_chip_.setRegister( addr-0x5040, b ); | 144 | wsg3_set_register( addr-0x5040, b ); |
144 | } | 145 | } |
145 | else if( addr >= 0x5060 && addr < 0x5070 ) { | 146 | else if( addr >= 0x5060 && addr < 0x5070 ) { |
146 | // Sprite coordinates, x/y pairs for 8 sprites | 147 | // Sprite coordinates, x/y pairs for 8 sprites |