mirror of
https://github.com/holub/mame
synced 2025-06-11 07:14:07 +03:00
spectrum fix by Haze (nw)
This commit is contained in:
parent
70bd51d08c
commit
c506c59498
@ -58,6 +58,15 @@ void spectrum_state::screen_eof_spectrum(screen_device &screen, bool state)
|
|||||||
// rising edge
|
// rising edge
|
||||||
if (state)
|
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());
|
spectrum_UpdateBorderBitmap(machine());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user