diff options
Diffstat (limited to 'src/mame/drivers/pturn.cpp')
-rw-r--r-- | src/mame/drivers/pturn.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/mame/drivers/pturn.cpp b/src/mame/drivers/pturn.cpp index 01f173c92da..7d4772e9602 100644 --- a/src/mame/drivers/pturn.cpp +++ b/src/mame/drivers/pturn.cpp @@ -347,22 +347,22 @@ void pturn_state::main_map(address_map &map) { map(0x0000, 0x7fff).rom(); map(0xc000, 0xc7ff).ram(); - map(0xc800, 0xcfff).nopw().r(this, FUNC(pturn_state::custom_r)); + map(0xc800, 0xcfff).nopw().r(FUNC(pturn_state::custom_r)); map(0xdfe0, 0xdfe0).noprw(); - map(0xe000, 0xe3ff).ram().w(this, FUNC(pturn_state::videoram_w)).share("videoram"); - map(0xe400, 0xe400).w(this, FUNC(pturn_state::fgpalette_w)); + map(0xe000, 0xe3ff).ram().w(FUNC(pturn_state::videoram_w)).share("videoram"); + map(0xe400, 0xe400).w(FUNC(pturn_state::fgpalette_w)); map(0xe800, 0xe800).w(m_soundlatch, FUNC(generic_latch_8_device::write)); map(0xf000, 0xf0ff).ram().share("spriteram"); - map(0xf400, 0xf400).w(this, FUNC(pturn_state::bg_scrollx_w)); + map(0xf400, 0xf400).w(FUNC(pturn_state::bg_scrollx_w)); map(0xf800, 0xf800).portr("P1").nopw(); - map(0xf801, 0xf801).portr("P2").w(this, FUNC(pturn_state::bgcolor_w)); + map(0xf801, 0xf801).portr("P2").w(FUNC(pturn_state::bgcolor_w)); map(0xf802, 0xf802).portr("SYSTEM"); - map(0xf803, 0xf803).w(this, FUNC(pturn_state::bg_scrolly_w)); + map(0xf803, 0xf803).w(FUNC(pturn_state::bg_scrolly_w)); map(0xf804, 0xf804).portr("DSW2"); map(0xf805, 0xf805).portr("DSW1"); map(0xf806, 0xf806).nopr(); /* Protection related, ((val&3)==2) -> jump to 0 */ @@ -375,7 +375,7 @@ void pturn_state::sub_map(address_map &map) { map(0x0000, 0x0fff).rom(); map(0x2000, 0x23ff).ram(); - map(0x3000, 0x3000).r(m_soundlatch, FUNC(generic_latch_8_device::read)).w(this, FUNC(pturn_state::nmi_sub_enable_w)); + map(0x3000, 0x3000).r(m_soundlatch, FUNC(generic_latch_8_device::read)).w(FUNC(pturn_state::nmi_sub_enable_w)); map(0x4000, 0x4000).ram(); map(0x5000, 0x5001).w("ay1", FUNC(ay8910_device::address_data_w)); map(0x6000, 0x6001).w("ay2", FUNC(ay8910_device::address_data_w)); |