diff options
author | AJR <ajrhacker@users.noreply.github.com> | 2018-01-05 10:47:21 -0500 |
---|---|---|
committer | AJR <ajrhacker@users.noreply.github.com> | 2018-01-05 10:47:28 -0500 |
commit | aa45e908bbf1c6ac8141b1990500817699888b59 (patch) | |
tree | 9fc8ca6cd091b585343f89a816f2a73460ae79fb /src/devices/bus/nubus/nubus_specpdq.cpp | |
parent | c25b98226d633149162fbf99ea06919646acb9b6 (diff) |
Privatize m_screen and other variables of device_video_interface (nw)
Diffstat (limited to 'src/devices/bus/nubus/nubus_specpdq.cpp')
-rw-r--r-- | src/devices/bus/nubus/nubus_specpdq.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/devices/bus/nubus/nubus_specpdq.cpp b/src/devices/bus/nubus/nubus_specpdq.cpp index 7cc46f46987..bf4c231e5c3 100644 --- a/src/devices/bus/nubus/nubus_specpdq.cpp +++ b/src/devices/bus/nubus/nubus_specpdq.cpp @@ -92,7 +92,7 @@ nubus_specpdq_device::nubus_specpdq_device(const machine_config &mconfig, device m_width(0), m_height(0), m_patofsx(0), m_patofsy(0), m_vram_addr(0), m_vram_src(0), m_palette(*this, "palette") { - m_screen_tag = m_assembled_tag.c_str(); + static_set_screen(*this, m_assembled_tag.c_str()); } //------------------------------------------------- @@ -117,7 +117,7 @@ void nubus_specpdq_device::device_start() m_nubus->install_device(slotspace+0x400000, slotspace+0xfbffff, read32_delegate(FUNC(nubus_specpdq_device::specpdq_r), this), write32_delegate(FUNC(nubus_specpdq_device::specpdq_w), this)); m_timer = timer_alloc(0, nullptr); - m_timer->adjust(m_screen->time_until_pos(843, 0), 0); + m_timer->adjust(screen().time_until_pos(843, 0), 0); } //------------------------------------------------- @@ -145,7 +145,7 @@ void nubus_specpdq_device::device_timer(emu_timer &timer, device_timer_id tid, i raise_slot_irq(); } - m_timer->adjust(m_screen->time_until_pos(843, 0), 0); + m_timer->adjust(screen().time_until_pos(843, 0), 0); } /*************************************************************************** |