summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/video/crtc_ega.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/video/crtc_ega.cpp')
-rw-r--r--src/devices/video/crtc_ega.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/devices/video/crtc_ega.cpp b/src/devices/video/crtc_ega.cpp
index 781b435f48e..4c9a738c110 100644
--- a/src/devices/video/crtc_ega.cpp
+++ b/src/devices/video/crtc_ega.cpp
@@ -228,7 +228,7 @@ void crtc_ega_device::update_counters()
{
m_character_counter = m_line_timer->elapsed().as_ticks( m_clock );
- if ( m_hsync_off_timer->enabled() )
+ if ( m_hsync_off_timer->running() )
{
m_hsync_width_counter = m_hsync_off_timer->elapsed().as_ticks( m_clock );
}
@@ -718,7 +718,7 @@ void crtc_ega_device::device_reset()
if(!m_res_out_irq_cb.isnull())
m_res_out_irq_cb(false);
- if (!m_line_timer->enabled())
+ if (!m_line_timer->running())
{
m_line_timer->adjust( attotime::from_ticks( m_horiz_char_total + 2, m_clock ) );
}