diff options
Diffstat (limited to 'src/devices/bus/nubus/nubus_m2hires.cpp')
-rw-r--r-- | src/devices/bus/nubus/nubus_m2hires.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/devices/bus/nubus/nubus_m2hires.cpp b/src/devices/bus/nubus/nubus_m2hires.cpp index 4c0481b16fc..da2964b0b45 100644 --- a/src/devices/bus/nubus/nubus_m2hires.cpp +++ b/src/devices/bus/nubus/nubus_m2hires.cpp @@ -73,7 +73,7 @@ nubus_m2hires_device::nubus_m2hires_device(const machine_config &mconfig, device m_vram32(nullptr), m_mode(0), m_vbl_disable(0), m_toggle(0), m_count(0), m_clutoffs(0), m_timer(nullptr), m_assembled_tag(util::string_format("%s:%s", tag, M2HIRES_SCREEN_NAME)) { - m_screen_tag = m_assembled_tag.c_str(); + static_set_screen(*this, m_assembled_tag.c_str()); } //------------------------------------------------- @@ -100,7 +100,7 @@ void nubus_m2hires_device::device_start() m_nubus->install_device(slotspace+0x80000, slotspace+0xeffff, read32_delegate(FUNC(nubus_m2hires_device::m2hires_r), this), write32_delegate(FUNC(nubus_m2hires_device::m2hires_w), this)); m_timer = timer_alloc(0, nullptr); - m_timer->adjust(m_screen->time_until_pos(479, 0), 0); + m_timer->adjust(screen().time_until_pos(479, 0), 0); } //------------------------------------------------- @@ -128,7 +128,7 @@ void nubus_m2hires_device::device_timer(emu_timer &timer, device_timer_id tid, i raise_slot_irq(); } - m_timer->adjust(m_screen->time_until_pos(479, 0), 0); + m_timer->adjust(screen().time_until_pos(479, 0), 0); } /*************************************************************************** |