summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/video/wswan.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/video/wswan.cpp')
-rw-r--r--src/mame/video/wswan.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mame/video/wswan.cpp b/src/mame/video/wswan.cpp
index b04eefe2a2d..3787167960c 100644
--- a/src/mame/video/wswan.cpp
+++ b/src/mame/video/wswan.cpp
@@ -22,7 +22,7 @@ DEFINE_DEVICE_TYPE(WSWAN_VIDEO, wswan_video_device, "wswan_video", "Bandai Wonde
wswan_video_device::wswan_video_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock)
: device_t(mconfig, WSWAN_VIDEO, tag, owner, clock)
- , m_screen(*this, ":screen")
+ , device_video_interface(mconfig, *this)
, m_vdp_type(VDP_TYPE_WSWAN)
{
}
@@ -82,7 +82,7 @@ void wswan_video_device::common_save()
void wswan_video_device::device_start()
{
- m_screen->register_screen_bitmap(m_bitmap);
+ screen().register_screen_bitmap(m_bitmap);
m_timer = timer_alloc(TIMER_SCANLINE);
m_timer->adjust(attotime::from_ticks(256, 3072000), 0, attotime::from_ticks(256, 3072000));