diff options
Diffstat (limited to 'src/devices/bus/macpds/pds_tpdfpd.cpp')
-rw-r--r-- | src/devices/bus/macpds/pds_tpdfpd.cpp | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/src/devices/bus/macpds/pds_tpdfpd.cpp b/src/devices/bus/macpds/pds_tpdfpd.cpp index 6d9dd93b4ed..c6eeb68c466 100644 --- a/src/devices/bus/macpds/pds_tpdfpd.cpp +++ b/src/devices/bus/macpds/pds_tpdfpd.cpp @@ -109,13 +109,12 @@ void macpds_sedisplay_device::device_start() m_vram = std::make_unique<uint8_t[]>(VRAM_SIZE); - static const char bankname[] = { "radpds_ram" }; - m_macpds->install_bank(0xc40000, 0xc40000+VRAM_SIZE-1, bankname, m_vram.get()); + m_macpds->install_bank(0xc40000, 0xc40000+VRAM_SIZE-1, m_vram.get()); m_macpds->install_device(0x770000, 0x77000f, read16s_delegate(*this, FUNC(macpds_sedisplay_device::ramdac_r)), write16s_delegate(*this, FUNC(macpds_sedisplay_device::ramdac_w))); m_macpds->install_device(0xc10000, 0xc2ffff, read16sm_delegate(*this, FUNC(macpds_sedisplay_device::sedisplay_r)), write16sm_delegate(*this, FUNC(macpds_sedisplay_device::sedisplay_w))); - m_timer = timer_alloc(0, nullptr); + m_timer = timer_alloc(FUNC(macpds_sedisplay_device::vbl_tick), this); m_timer->adjust(screen().time_until_pos(879, 0), 0); } @@ -136,7 +135,7 @@ void macpds_sedisplay_device::device_reset() } -void macpds_sedisplay_device::device_timer(emu_timer &timer, device_timer_id tid, int param, void *ptr) +TIMER_CALLBACK_MEMBER(macpds_sedisplay_device::vbl_tick) { if (!m_vbl_disable) { |