spectrum-v.cpp: avoid screen update before video initialized - MT8370 (#10053)

This commit is contained in:
holub 2022-07-09 12:46:44 -04:00 committed by GitHub
parent 80d59e420a
commit 78a7de1885
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -31,7 +31,7 @@ TIMER_CALLBACK_MEMBER(spectrum_state::finish_screen_update)
https://github.com/mamedev/mame/pull/9670#issuecomment-1118576555
https://github.com/mamedev/mame/pull/9750
*/
m_screen->update_now();
if (started()) m_screen->update_now();
m_finish_screen_update_timer->adjust(m_screen->time_until_pos(m_screen->visible_area().bottom(), m_screen->visible_area().right() + 1));
}