mirror of
https://github.com/mamedev/mame.git
synced 2024-11-16 07:48:32 +01:00
spectrum fix by Haze (nw)
This commit is contained in:
parent
70bd51d08c
commit
c506c59498
1 changed files with 9 additions and 0 deletions
|
@ -58,6 +58,15 @@ void spectrum_state::screen_eof_spectrum(screen_device &screen, bool state)
|
|||
// rising edge
|
||||
if (state)
|
||||
{
|
||||
m_frame_number++;
|
||||
|
||||
if (m_frame_number >= m_frame_invert_count)
|
||||
{
|
||||
m_frame_number = 0;
|
||||
m_flash_invert = !m_flash_invert;
|
||||
}
|
||||
|
||||
|
||||
spectrum_UpdateBorderBitmap(machine());
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue