mirror of
https://github.com/mamedev/mame.git
synced 2024-11-16 07:48:32 +01:00
x68k: further adjust vblank irq
Some checks failed
CI (Linux) / build-linux (-U_FORTIFY_SOURCE, gcc, gcc, g++, mametiny, tiny) (push) Has been cancelled
CI (Linux) / build-linux (clang, clang, clang++, mame, mame) (push) Has been cancelled
CI (macOS) / build-macos (push) Has been cancelled
CI (Windows) / build-windows (clang, clang, clang++, mametiny, tiny) (push) Has been cancelled
CI (Windows) / build-windows (gcc, gcc, g++, mame, mame) (push) Has been cancelled
XML/JSON validation / validate (push) Has been cancelled
Some checks failed
CI (Linux) / build-linux (-U_FORTIFY_SOURCE, gcc, gcc, g++, mametiny, tiny) (push) Has been cancelled
CI (Linux) / build-linux (clang, clang, clang++, mame, mame) (push) Has been cancelled
CI (macOS) / build-macos (push) Has been cancelled
CI (Windows) / build-windows (clang, clang, clang++, mametiny, tiny) (push) Has been cancelled
CI (Windows) / build-windows (gcc, gcc, g++, mame, mame) (push) Has been cancelled
XML/JSON validation / validate (push) Has been cancelled
This commit is contained in:
parent
a541421698
commit
efa2fb25be
1 changed files with 1 additions and 1 deletions
|
@ -278,7 +278,7 @@ TIMER_CALLBACK_MEMBER(x68k_crtc_device::vblank_irq)
|
|||
if (val == 0) // V-DISP off
|
||||
{
|
||||
m_vblank = 0;
|
||||
vblank_line = m_vend + 1;
|
||||
vblank_line = m_vend + (gfx_double_scan() ? 2 : 1);
|
||||
if (vblank_line > m_vtotal)
|
||||
vblank_line = m_vtotal;
|
||||
irq_time = screen().time_until_pos(vblank_line, 2);
|
||||
|
|
Loading…
Reference in a new issue