diff options
Diffstat (limited to 'src/mame/drivers/pc4.cpp')
-rw-r--r-- | src/mame/drivers/pc4.cpp | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/src/mame/drivers/pc4.cpp b/src/mame/drivers/pc4.cpp index 2861fd41fd5..5b2486625ce 100644 --- a/src/mame/drivers/pc4.cpp +++ b/src/mame/drivers/pc4.cpp @@ -72,17 +72,17 @@ void pc4_state::pc4_io(address_map &map) { map.unmap_value_high(); map(0x0000, 0x000f).rw("rtc", FUNC(rp5c01_device::read), FUNC(rp5c01_device::write)); - map(0x1000, 0x1000).w(this, FUNC(pc4_state::beep_w)); - map(0x1fff, 0x1fff).w(this, FUNC(pc4_state::bank_w)); + map(0x1000, 0x1000).w(FUNC(pc4_state::beep_w)); + map(0x1fff, 0x1fff).w(FUNC(pc4_state::bank_w)); - map(0x3000, 0x3000).w(this, FUNC(pc4_state::lcd_control_w)); - map(0x3001, 0x3001).w(this, FUNC(pc4_state::lcd_data_w)); - map(0x3002, 0x3002).r(this, FUNC(pc4_state::lcd_control_r)); - map(0x3003, 0x3003).r(this, FUNC(pc4_state::lcd_data_r)); - map(0x3005, 0x3005).w(this, FUNC(pc4_state::lcd_offset_w)); + map(0x3000, 0x3000).w(FUNC(pc4_state::lcd_control_w)); + map(0x3001, 0x3001).w(FUNC(pc4_state::lcd_data_w)); + map(0x3002, 0x3002).r(FUNC(pc4_state::lcd_control_r)); + map(0x3003, 0x3003).r(FUNC(pc4_state::lcd_data_r)); + map(0x3005, 0x3005).w(FUNC(pc4_state::lcd_offset_w)); //keyboard read, offset used as matrix - map(0x5000, 0x50ff).r(this, FUNC(pc4_state::kb_r)); + map(0x5000, 0x50ff).r(FUNC(pc4_state::kb_r)); } static INPUT_PORTS_START( pc4 ) |