From f0106d986a3a402d30b5448fe12fa8b4809ac46a Mon Sep 17 00:00:00 2001 From: Aaron Giles Date: Fri, 9 Jul 2021 15:07:39 -0700 Subject: [PATCH] voodoo: Restore some cycle stealing on vretrace to allow sfrush to boot. --- src/devices/video/voodoo.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/devices/video/voodoo.cpp b/src/devices/video/voodoo.cpp index df52d84e7a2..01840449b10 100644 --- a/src/devices/video/voodoo.cpp +++ b/src/devices/video/voodoo.cpp @@ -2034,6 +2034,9 @@ u32 voodoo_1_device::reg_fbiinit2_r(u32 chipmask, u32 regnum) u32 voodoo_1_device::reg_vretrace_r(u32 chipmask, u32 regnum) { + // sfrush needs this to be at least 1 extra cycle slower or else it won't boot + m_cpu->eat_cycles(1); + // return 0 if vblank is active return m_vblank ? 0 : screen().vpos(); }