summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/aerofgt.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/aerofgt.cpp')
-rw-r--r--src/mame/drivers/aerofgt.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/mame/drivers/aerofgt.cpp b/src/mame/drivers/aerofgt.cpp
index 2c08d3ab25d..ac51e0a9baf 100644
--- a/src/mame/drivers/aerofgt.cpp
+++ b/src/mame/drivers/aerofgt.cpp
@@ -67,9 +67,9 @@ Verification still needed for the other PCBs.
#include "cpu/z80/z80.h"
#include "machine/mb3773.h"
#include "machine/vs9209.h"
-#include "sound/3812intf.h"
#include "sound/ym2151.h"
#include "sound/ym2610.h"
+#include "sound/ym3812.h"
#include "video/vsystem_gga.h"
#include "screen.h"
#include "speaker.h"
@@ -525,8 +525,8 @@ void aerofgt_state::karatblzbl_sound_map(address_map &map)
void aerofgt_state::karatblzbl_sound_portmap(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).w(FUNC(aerofgt_state::karatblzbl_d7759_write_port_0_w));
map(0x80, 0x80).w(FUNC(aerofgt_state::karatblzbl_d7759_reset_w));
}
@@ -541,8 +541,8 @@ void aerofgt_state::kickball_sound_map(address_map &map)
void aerofgt_state::kickball_sound_portmap(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(m_oki, FUNC(okim6295_device::read), FUNC(okim6295_device::write));
map(0xc0, 0xc0).w(m_soundlatch, FUNC(generic_latch_8_device::acknowledge_w));
}