summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/asterix.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/asterix.cpp')
-rw-r--r--src/mame/drivers/asterix.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mame/drivers/asterix.cpp b/src/mame/drivers/asterix.cpp
index d49d5dc9620..50efb9afe59 100644
--- a/src/mame/drivers/asterix.cpp
+++ b/src/mame/drivers/asterix.cpp
@@ -20,7 +20,7 @@ TODO:
#include "cpu/z80/z80.h"
#include "machine/eepromser.h"
#include "sound/k053260.h"
-#include "sound/ym2151.h"
+#include "sound/ymopm.h"
#include "emupal.h"
#include "screen.h"
#include "speaker.h"
@@ -200,7 +200,7 @@ void asterix_state::sound_map(address_map &map)
map(0xf801, 0xf801).rw("ymsnd", FUNC(ym2151_device::status_r), FUNC(ym2151_device::data_w));
map(0xfa00, 0xfa2f).rw("k053260", FUNC(k053260_device::read), FUNC(k053260_device::write));
map(0xfc00, 0xfc00).w(FUNC(asterix_state::sound_arm_nmi_w));
- map(0xfe00, 0xfe00).w("ymsnd", FUNC(ym2151_device::register_w));
+ map(0xfe00, 0xfe00).w("ymsnd", FUNC(ym2151_device::address_w));
}