summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/redclash.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/redclash.cpp')
-rw-r--r--src/mame/drivers/redclash.cpp30
1 files changed, 15 insertions, 15 deletions
diff --git a/src/mame/drivers/redclash.cpp b/src/mame/drivers/redclash.cpp
index f5a08f7c239..30d3b0881fb 100644
--- a/src/mame/drivers/redclash.cpp
+++ b/src/mame/drivers/redclash.cpp
@@ -46,19 +46,19 @@ void redclash_state::zerohour_map(address_map &map)
map(0x0000, 0x2fff).rom();
map(0x3000, 0x37ff).ram();
map(0x3800, 0x3bff).ram().share("spriteram");
- map(0x4000, 0x43ff).ram().w(this, FUNC(redclash_state::redclash_videoram_w)).share("videoram");
+ map(0x4000, 0x43ff).ram().w(FUNC(redclash_state::redclash_videoram_w)).share("videoram");
map(0x4800, 0x4800).portr("IN0"); /* IN0 */
map(0x4801, 0x4801).portr("IN1"); /* IN1 */
map(0x4802, 0x4802).portr("DSW1"); /* DSW0 */
map(0x4803, 0x4803).portr("DSW2"); /* DSW1 */
map(0x5000, 0x5007).nopw(); /* to sound board */
- map(0x5800, 0x5800).w(this, FUNC(redclash_state::redclash_star_w<0>));
+ map(0x5800, 0x5800).w(FUNC(redclash_state::redclash_star_w<0>));
map(0x5801, 0x5804).nopw(); /* to sound board */
- map(0x5805, 0x5805).w(this, FUNC(redclash_state::redclash_star_w<1>));
- map(0x5806, 0x5806).w(this, FUNC(redclash_state::redclash_star_w<2>));
- map(0x5807, 0x5807).w(this, FUNC(redclash_state::redclash_flipscreen_w));
- map(0x7000, 0x7000).w(this, FUNC(redclash_state::redclash_star_reset_w));
- map(0x7800, 0x7800).w(this, FUNC(redclash_state::irqack_w));
+ map(0x5805, 0x5805).w(FUNC(redclash_state::redclash_star_w<1>));
+ map(0x5806, 0x5806).w(FUNC(redclash_state::redclash_star_w<2>));
+ map(0x5807, 0x5807).w(FUNC(redclash_state::redclash_flipscreen_w));
+ map(0x7000, 0x7000).w(FUNC(redclash_state::redclash_star_reset_w));
+ map(0x7800, 0x7800).w(FUNC(redclash_state::irqack_w));
}
void redclash_state::redclash_map(address_map &map)
@@ -66,21 +66,21 @@ void redclash_state::redclash_map(address_map &map)
map(0x0000, 0x2fff).rom();
// AM_RANGE(0x3000, 0x3000) AM_WRITENOP
// AM_RANGE(0x3800, 0x3800) AM_WRITENOP
- map(0x4000, 0x43ff).ram().w(this, FUNC(redclash_state::redclash_videoram_w)).share("videoram");
+ map(0x4000, 0x43ff).ram().w(FUNC(redclash_state::redclash_videoram_w)).share("videoram");
map(0x4800, 0x4800).portr("IN0"); /* IN0 */
map(0x4801, 0x4801).portr("IN1"); /* IN1 */
map(0x4802, 0x4802).portr("DSW1"); /* DSW0 */
map(0x4803, 0x4803).portr("DSW2"); /* DSW1 */
map(0x5000, 0x5007).nopw(); /* to sound board */
- map(0x5800, 0x5800).w(this, FUNC(redclash_state::redclash_star_w<0>));
- map(0x5801, 0x5801).w(this, FUNC(redclash_state::redclash_gfxbank_w));
- map(0x5805, 0x5805).w(this, FUNC(redclash_state::redclash_star_w<1>));
- map(0x5806, 0x5806).w(this, FUNC(redclash_state::redclash_star_w<2>));
- map(0x5807, 0x5807).w(this, FUNC(redclash_state::redclash_flipscreen_w));
+ map(0x5800, 0x5800).w(FUNC(redclash_state::redclash_star_w<0>));
+ map(0x5801, 0x5801).w(FUNC(redclash_state::redclash_gfxbank_w));
+ map(0x5805, 0x5805).w(FUNC(redclash_state::redclash_star_w<1>));
+ map(0x5806, 0x5806).w(FUNC(redclash_state::redclash_star_w<2>));
+ map(0x5807, 0x5807).w(FUNC(redclash_state::redclash_flipscreen_w));
map(0x6000, 0x67ff).ram();
map(0x6800, 0x6bff).ram().share("spriteram");
- map(0x7000, 0x7000).w(this, FUNC(redclash_state::redclash_star_reset_w));
- map(0x7800, 0x7800).w(this, FUNC(redclash_state::irqack_w));
+ map(0x7000, 0x7000).w(FUNC(redclash_state::redclash_star_reset_w));
+ map(0x7800, 0x7800).w(FUNC(redclash_state::irqack_w));
}
/*