summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/shootout.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/shootout.cpp')
-rw-r--r--src/mame/drivers/shootout.cpp20
1 files changed, 10 insertions, 10 deletions
diff --git a/src/mame/drivers/shootout.cpp b/src/mame/drivers/shootout.cpp
index 3830ab961fd..c5a4a86ea94 100644
--- a/src/mame/drivers/shootout.cpp
+++ b/src/mame/drivers/shootout.cpp
@@ -106,14 +106,14 @@ WRITE8_MEMBER(shootout_state::coincounter_w)
void shootout_state::shootout_map(address_map &map)
{
map(0x0000, 0x0fff).ram();
- map(0x1000, 0x1000).portr("DSW1").w(this, FUNC(shootout_state::bankswitch_w));
- map(0x1001, 0x1001).portr("P1").w(this, FUNC(shootout_state::flipscreen_w));
- map(0x1002, 0x1002).portr("P2").w(this, FUNC(shootout_state::coincounter_w));
- map(0x1003, 0x1003).portr("DSW2").w(this, FUNC(shootout_state::sound_cpu_command_w));
+ map(0x1000, 0x1000).portr("DSW1").w(FUNC(shootout_state::bankswitch_w));
+ map(0x1001, 0x1001).portr("P1").w(FUNC(shootout_state::flipscreen_w));
+ map(0x1002, 0x1002).portr("P2").w(FUNC(shootout_state::coincounter_w));
+ map(0x1003, 0x1003).portr("DSW2").w(FUNC(shootout_state::sound_cpu_command_w));
map(0x1004, 0x17ff).ram();
map(0x1800, 0x19ff).ram().share("spriteram");
- map(0x2000, 0x27ff).ram().w(this, FUNC(shootout_state::textram_w)).share("textram");
- map(0x2800, 0x2fff).ram().w(this, FUNC(shootout_state::videoram_w)).share("videoram");
+ map(0x2000, 0x27ff).ram().w(FUNC(shootout_state::textram_w)).share("textram");
+ map(0x2800, 0x2fff).ram().w(FUNC(shootout_state::videoram_w)).share("videoram");
map(0x4000, 0x7fff).bankr("bank1");
map(0x8000, 0xffff).rom().region("maincpu", 0x0000);
}
@@ -126,11 +126,11 @@ void shootout_state::shootouj_map(address_map &map)
map(0x1002, 0x1002).portr("P2");
map(0x1003, 0x1003).portr("DSW2");
map(0x1004, 0x17ff).ram();
- map(0x1800, 0x1800).w(this, FUNC(shootout_state::coincounter_w));
+ map(0x1800, 0x1800).w(FUNC(shootout_state::coincounter_w));
map(0x2000, 0x21ff).ram().share("spriteram");
map(0x2800, 0x2801).rw("ymsnd", FUNC(ym2203_device::read), FUNC(ym2203_device::write));
- map(0x3000, 0x37ff).ram().w(this, FUNC(shootout_state::textram_w)).share("textram");
- map(0x3800, 0x3fff).ram().w(this, FUNC(shootout_state::videoram_w)).share("videoram");
+ map(0x3000, 0x37ff).ram().w(FUNC(shootout_state::textram_w)).share("textram");
+ map(0x3800, 0x3fff).ram().w(FUNC(shootout_state::videoram_w)).share("videoram");
map(0x4000, 0x7fff).bankr("bank1");
map(0x8000, 0xffff).rom().region("maincpu", 0x0000);
}
@@ -142,7 +142,7 @@ void shootout_state::shootout_sound_map(address_map &map)
{
map(0x0000, 0x07ff).ram();
map(0x4000, 0x4001).rw("ymsnd", FUNC(ym2203_device::read), FUNC(ym2203_device::write));
- map(0xa000, 0xa000).r(this, FUNC(shootout_state::sound_cpu_command_r));
+ map(0xa000, 0xa000).r(FUNC(shootout_state::sound_cpu_command_r));
map(0xc000, 0xffff).rom().region("audiocpu", 0x0000);
map(0xd000, 0xd000).nopw(); // Unknown, NOT irq/nmi mask (Always 0x80 ???)
}