summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/onetwo.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/onetwo.cpp')
-rw-r--r--src/mame/drivers/onetwo.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mame/drivers/onetwo.cpp b/src/mame/drivers/onetwo.cpp
index 777448e47a4..735e3e93a61 100644
--- a/src/mame/drivers/onetwo.cpp
+++ b/src/mame/drivers/onetwo.cpp
@@ -45,8 +45,8 @@ Note: this is quite clearly a 'Korean bootleg' of Shisensho - Joshiryo-Hen / Mat
#include "cpu/z80/z80.h"
#include "machine/gen_latch.h"
#include "machine/watchdog.h"
-#include "sound/3812intf.h"
#include "sound/okim6295.h"
+#include "sound/ym3812.h"
#include "emupal.h"
#include "screen.h"
#include "speaker.h"
@@ -198,8 +198,8 @@ void onetwo_state::sound_cpu(address_map &map)
void onetwo_state::sound_cpu_io(address_map &map)
{
map.global_mask(0xff);
- map(0x00, 0x00).rw("ymsnd", FUNC(ym3812_device::status_port_r), FUNC(ym3812_device::control_port_w));
- map(0x20, 0x20).w("ymsnd", FUNC(ym3812_device::write_port_w));
+ map(0x00, 0x00).rw("ymsnd", FUNC(ym3812_device::status_r), FUNC(ym3812_device::address_w));
+ map(0x20, 0x20).w("ymsnd", FUNC(ym3812_device::data_w));
map(0x40, 0x40).rw("oki", FUNC(okim6295_device::read), FUNC(okim6295_device::write));
map(0xc0, 0xc0).w(m_soundlatch, FUNC(generic_latch_8_device::acknowledge_w));
}