summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/tryout.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/tryout.cpp')
-rw-r--r--src/mame/drivers/tryout.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/mame/drivers/tryout.cpp b/src/mame/drivers/tryout.cpp
index a3d423a22d4..ebab1a7767b 100644
--- a/src/mame/drivers/tryout.cpp
+++ b/src/mame/drivers/tryout.cpp
@@ -59,22 +59,22 @@ WRITE8_MEMBER(tryout_state::bankswitch_w)
void tryout_state::main_cpu(address_map &map)
{
map(0x0000, 0x07ff).ram();
- map(0x1000, 0x17ff).ram().w(this, FUNC(tryout_state::videoram_w)).share("videoram");
+ map(0x1000, 0x17ff).ram().w(FUNC(tryout_state::videoram_w)).share("videoram");
map(0x2000, 0x3fff).bankr("bank1");
map(0x4000, 0xbfff).rom();
map(0xc800, 0xc87f).ram().share("spriteram");
map(0xcc00, 0xcc7f).ram().share("spriteram2");
- map(0xd000, 0xd7ff).rw(this, FUNC(tryout_state::vram_r), FUNC(tryout_state::vram_w));
+ map(0xd000, 0xd7ff).rw(FUNC(tryout_state::vram_r), FUNC(tryout_state::vram_w));
map(0xe000, 0xe000).portr("DSW");
map(0xe001, 0xe001).portr("P1");
map(0xe002, 0xe002).portr("P2");
map(0xe003, 0xe003).portr("SYSTEM");
- map(0xe301, 0xe301).w(this, FUNC(tryout_state::flipscreen_w));
- map(0xe302, 0xe302).w(this, FUNC(tryout_state::bankswitch_w));
- map(0xe401, 0xe401).w(this, FUNC(tryout_state::vram_bankswitch_w));
+ map(0xe301, 0xe301).w(FUNC(tryout_state::flipscreen_w));
+ map(0xe302, 0xe302).w(FUNC(tryout_state::bankswitch_w));
+ map(0xe401, 0xe401).w(FUNC(tryout_state::vram_bankswitch_w));
map(0xe402, 0xe404).writeonly().share("gfx_control");
- map(0xe414, 0xe414).w(this, FUNC(tryout_state::sound_w));
- map(0xe417, 0xe417).w(this, FUNC(tryout_state::nmi_ack_w));
+ map(0xe414, 0xe414).w(FUNC(tryout_state::sound_w));
+ map(0xe417, 0xe417).w(FUNC(tryout_state::nmi_ack_w));
map(0xfff0, 0xffff).rom().region("maincpu", 0xbff0); /* reset vectors */
}
@@ -83,7 +83,7 @@ void tryout_state::sound_cpu(address_map &map)
map(0x0000, 0x07ff).ram();
map(0x4000, 0x4001).rw("ymsnd", FUNC(ym2203_device::read), FUNC(ym2203_device::write));
map(0xa000, 0xa000).r(m_soundlatch, FUNC(generic_latch_8_device::read));
- map(0xd000, 0xd000).w(this, FUNC(tryout_state::sound_irq_ack_w));
+ map(0xd000, 0xd000).w(FUNC(tryout_state::sound_irq_ack_w));
map(0xc000, 0xffff).rom();
}