summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/nightgal.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/nightgal.cpp')
-rw-r--r--src/mame/drivers/nightgal.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/mame/drivers/nightgal.cpp b/src/mame/drivers/nightgal.cpp
index efe872d221d..23526104d2f 100644
--- a/src/mame/drivers/nightgal.cpp
+++ b/src/mame/drivers/nightgal.cpp
@@ -30,7 +30,7 @@ TODO:
#include "machine/clock.h"
#include "sound/ay8910.h"
#include "sound/dac.h"
-#include "sound/ym2203.h"
+#include "sound/ymopn.h"
#include "video/jangou_blitter.h"
#include "video/resnet.h"
#include "emupal.h"
@@ -451,9 +451,9 @@ void nightgal_state::sgaltrop_io(address_map &map)
common_sexygal_io(map);
// not actually a YM2203?
- map(0x01, 0x01).r("ymsnd", FUNC(ym2203_device::read_port_r));
- map(0x02, 0x02).w("ymsnd", FUNC(ym2203_device::write_port_w));
- map(0x03, 0x03).w("ymsnd", FUNC(ym2203_device::control_port_w));
+ map(0x01, 0x01).r("ymsnd", FUNC(ym2203_device::data_r));
+ map(0x02, 0x02).w("ymsnd", FUNC(ym2203_device::data_w));
+ map(0x03, 0x03).w("ymsnd", FUNC(ym2203_device::address_w));
}
void nightgal_state::sexygal_nsc_map(address_map &map)