summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/mycom.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/mycom.cpp')
-rw-r--r--src/mame/drivers/mycom.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/mame/drivers/mycom.cpp b/src/mame/drivers/mycom.cpp
index a04f20b6e7d..24497d21a04 100644
--- a/src/mame/drivers/mycom.cpp
+++ b/src/mame/drivers/mycom.cpp
@@ -221,14 +221,14 @@ void mycom_state::mycom_map(address_map &map)
map.unmap_value_high();
map(0x0000, 0x0fff).bankrw("boot");
map(0x1000, 0xbfff).ram();
- map(0xc000, 0xffff).rw(this, FUNC(mycom_state::mycom_upper_r), FUNC(mycom_state::mycom_upper_w));
+ map(0xc000, 0xffff).rw(FUNC(mycom_state::mycom_upper_r), FUNC(mycom_state::mycom_upper_w));
}
void mycom_state::mycom_io(address_map &map)
{
map.global_mask(0xff);
- map(0x00, 0x00).w(this, FUNC(mycom_state::mycom_00_w));
- map(0x01, 0x01).rw(this, FUNC(mycom_state::vram_data_r), FUNC(mycom_state::vram_data_w));
+ map(0x00, 0x00).w(FUNC(mycom_state::mycom_00_w));
+ map(0x01, 0x01).rw(FUNC(mycom_state::vram_data_r), FUNC(mycom_state::vram_data_w));
map(0x02, 0x02).rw(m_crtc, FUNC(mc6845_device::status_r), FUNC(mc6845_device::address_w));
map(0x03, 0x03).rw(m_crtc, FUNC(mc6845_device::register_r), FUNC(mc6845_device::register_w));
map(0x04, 0x07).rw(m_ppi0, FUNC(i8255_device::read), FUNC(i8255_device::write));
@@ -412,7 +412,7 @@ WRITE8_MEMBER( mycom_state::mycom_0a_w )
// if WE & CE are low, pass sound command to audio chip
if ((data & 0x30)==0)
- m_audio->write(space, 0, m_sn_we);
+ m_audio->write(m_sn_we);
}
WRITE8_MEMBER(mycom_state::mycom_rtc_w)