summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/wink.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/wink.cpp')
-rw-r--r--src/mame/drivers/wink.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/mame/drivers/wink.cpp b/src/mame/drivers/wink.cpp
index 0952d07e566..41a5b7d044d 100644
--- a/src/mame/drivers/wink.cpp
+++ b/src/mame/drivers/wink.cpp
@@ -161,7 +161,7 @@ void wink_state::wink_map(address_map &map)
map(0x0000, 0x7fff).rom();
map(0x8000, 0x87ff).ram();
map(0x9000, 0x97ff).ram().share("nvram");
- map(0xa000, 0xa3ff).ram().w(this, FUNC(wink_state::bgram_w)).share("videoram");
+ map(0xa000, 0xa3ff).ram().w(FUNC(wink_state::bgram_w)).share("videoram");
}
@@ -196,17 +196,17 @@ void wink_state::wink_io(address_map &map)
map(0x00, 0x1f).ram().w("palette", FUNC(palette_device::write8)).share("palette"); //0x10-0x1f is likely to be something else
map(0x20, 0x27).w("mainlatch", FUNC(ls259_device::write_d0));
map(0x40, 0x40).w("soundlatch", FUNC(generic_latch_8_device::write));
- map(0x60, 0x60).w(this, FUNC(wink_state::sound_irq_w));
- map(0x80, 0x80).r(this, FUNC(wink_state::analog_port_r));
- map(0xa0, 0xa0).r(this, FUNC(wink_state::player_inputs_r));
+ map(0x60, 0x60).w(FUNC(wink_state::sound_irq_w));
+ map(0x80, 0x80).r(FUNC(wink_state::analog_port_r));
+ map(0xa0, 0xa0).r(FUNC(wink_state::player_inputs_r));
map(0xa4, 0xa4).portr("DSW1"); //dipswitch bank2
map(0xa8, 0xa8).portr("DSW2"); //dipswitch bank1
// AM_RANGE(0xac, 0xac) AM_WRITENOP //protection - loads video xor unit (written only once at startup)
map(0xb0, 0xb0).portr("DSW3"); //unused inputs
map(0xb4, 0xb4).portr("DSW4"); //dipswitch bank3
- map(0xc0, 0xdf).w(this, FUNC(wink_state::prot_w)); //load load protection-buffer from upper address bus
+ map(0xc0, 0xdf).w(FUNC(wink_state::prot_w)); //load load protection-buffer from upper address bus
map(0xc3, 0xc3).nopr(); //watchdog?
- map(0xe0, 0xff).r(this, FUNC(wink_state::prot_r)); //load math unit from buffer & lower address-bus
+ map(0xe0, 0xff).r(FUNC(wink_state::prot_r)); //load math unit from buffer & lower address-bus
}
void wink_state::wink_sound_map(address_map &map)