summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/video/ef9340_1.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/video/ef9340_1.cpp')
-rw-r--r--src/devices/video/ef9340_1.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/devices/video/ef9340_1.cpp b/src/devices/video/ef9340_1.cpp
index 54c6f651dac..98aa0741c11 100644
--- a/src/devices/video/ef9340_1.cpp
+++ b/src/devices/video/ef9340_1.cpp
@@ -39,10 +39,10 @@ ef9340_1_device::ef9340_1_device(const machine_config &mconfig, const char *tag,
void ef9340_1_device::device_start()
{
// Let the screen create our temporary bitmap with the screen's dimensions
- m_screen->register_screen_bitmap(m_tmp_bitmap);
+ screen().register_screen_bitmap(m_tmp_bitmap);
m_line_timer = timer_alloc(TIMER_LINE);
- m_line_timer->adjust( m_screen->time_until_pos(0, 0), 0, m_screen->scan_period() );
+ m_line_timer->adjust( screen().time_until_pos(0, 0), 0, screen().scan_period() );
// register our state
save_item(NAME(m_ef9341.TA));
@@ -81,7 +81,7 @@ void ef9340_1_device::device_timer(emu_timer &timer, device_timer_id id, int par
switch ( id )
{
case TIMER_LINE:
- ef9340_scanline(m_screen->vpos());
+ ef9340_scanline(screen().vpos());
break;
}
}