summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/quizpun2.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/quizpun2.cpp')
-rw-r--r--src/mame/drivers/quizpun2.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/mame/drivers/quizpun2.cpp b/src/mame/drivers/quizpun2.cpp
index 63ef7a58f28..daa02efa693 100644
--- a/src/mame/drivers/quizpun2.cpp
+++ b/src/mame/drivers/quizpun2.cpp
@@ -328,8 +328,8 @@ void quizpun2_state::quizpun2_map(address_map &map)
map(0x0000, 0x7fff).rom();
map(0x8000, 0x9fff).bankr("bank1");
- map(0xa000, 0xbfff).ram().w(this, FUNC(quizpun2_state::fg_ram_w)).share("fg_ram");
- map(0xc000, 0xcfff).ram().w(this, FUNC(quizpun2_state::bg_ram_w)).share("bg_ram");
+ map(0xa000, 0xbfff).ram().w(FUNC(quizpun2_state::fg_ram_w)).share("fg_ram");
+ map(0xc000, 0xcfff).ram().w(FUNC(quizpun2_state::bg_ram_w)).share("bg_ram");
map(0xd000, 0xd3ff).ram().w(m_palette, FUNC(palette_device::write8)).share("palette");
map(0xe000, 0xffff).ram();
@@ -338,14 +338,14 @@ void quizpun2_state::quizpun2_map(address_map &map)
void quizpun2_state::quizpun2_io_map(address_map &map)
{
map.global_mask(0xff);
- map(0x40, 0x40).w(this, FUNC(quizpun2_state::irq_ack));
- map(0x50, 0x50).w(this, FUNC(quizpun2_state::soundlatch_w));
- map(0x60, 0x60).w(this, FUNC(quizpun2_state::rombank_w));
- map(0x70, 0x70).w(this, FUNC(quizpun2_state::scroll_w));
+ map(0x40, 0x40).w(FUNC(quizpun2_state::irq_ack));
+ map(0x50, 0x50).w(FUNC(quizpun2_state::soundlatch_w));
+ map(0x60, 0x60).w(FUNC(quizpun2_state::rombank_w));
+ map(0x70, 0x70).w(FUNC(quizpun2_state::scroll_w));
map(0x80, 0x80).portr("DSW");
map(0x90, 0x90).portr("IN0");
map(0xa0, 0xa0).portr("IN1");
- map(0xe0, 0xe0).rw(this, FUNC(quizpun2_state::quizpun_protection_r), FUNC(quizpun2_state::quizpun_protection_w));
+ map(0xe0, 0xe0).rw(FUNC(quizpun2_state::quizpun_protection_r), FUNC(quizpun2_state::quizpun_protection_w));
}
void quizpun2_state::quizpun2_cop_map(address_map &map)