summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/pcw.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/pcw.cpp')
-rw-r--r--src/mame/drivers/pcw.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mame/drivers/pcw.cpp b/src/mame/drivers/pcw.cpp
index 88460dde163..93bb6a14139 100644
--- a/src/mame/drivers/pcw.cpp
+++ b/src/mame/drivers/pcw.cpp
@@ -245,7 +245,7 @@ void pcw_state::pcw_update_read_memory_block(int block, int bank)
if (bank == 3)
{
/* when upper 16 bytes are accessed use keyboard read handler */
- space.install_read_handler( block * 0x04000 + 0x3ff0, block * 0x04000 + 0x3fff, read8_delegate(FUNC(pcw_state::pcw_keyboard_data_r),this));
+ space.install_read_handler( block * 0x04000 + 0x3ff0, block * 0x04000 + 0x3fff, read8_delegate(*this, FUNC(pcw_state::pcw_keyboard_data_r)));
LOGMEM("MEM: read block %i -> bank %i\n", block, bank);
}
else
@@ -1291,7 +1291,7 @@ void pcw_state::pcw(machine_config &config)
/* internal ram */
RAM(config, m_ram).set_default_size("256K");
- TIMER(config, "pcw_timer", 0).configure_periodic(timer_device::expired_delegate(FUNC(pcw_state::pcw_timer_interrupt), this), attotime::from_hz(300));
+ TIMER(config, "pcw_timer", 0).configure_periodic(FUNC(pcw_state::pcw_timer_interrupt), attotime::from_hz(300));
}
void pcw_state::pcw8256(machine_config &config)