diff options
| author | 2022-11-01 19:18:07 +0100 | |
|---|---|---|
| committer | 2022-11-01 19:18:07 +0100 | |
| commit | 7d9ccfa4261a4a836890b9aac9fa81109fd68598 (patch) | |
| tree | 1b316f883b1800448a29313cac9007061d51935d | |
| parent | 316a1dcf18257e2771b4709081b32761b8bb380c (diff) | |
advision: re-add timer check
| -rw-r--r-- | src/mame/entex/advision.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mame/entex/advision.cpp b/src/mame/entex/advision.cpp index 0b94bc839f6..c7c3bdbd186 100644 --- a/src/mame/entex/advision.cpp +++ b/src/mame/entex/advision.cpp @@ -143,7 +143,7 @@ private: u32 advision_state::screen_update(screen_device &screen, bitmap_rgb32 &bitmap, const rectangle &cliprect) { - bool hint_enable = bool(m_conf->read() & 1); + const bool hint_enable = bool(m_conf->read() & 1); for (int y = 0; y < 40; y++) { @@ -180,7 +180,7 @@ void advision_state::av_control_w(u8 data) // disable led outputs (there is some delay before it takes effect) // see for example codered twister and anime girl, gaps between the 'pixels' should be visible but minimal - if (m_video_bank == 0) + if (m_video_bank == 0 && m_led_off->expire().is_never()) m_led_off->adjust(attotime::from_usec(39)); // P24 rising edge: transfer led latches to outputs |
