summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
author Aaron Giles <aaron@aarongiles.com>2021-07-09 15:07:39 -0700
committer Aaron Giles <aaron@aarongiles.com>2021-07-09 15:07:39 -0700
commitf0106d986a3a402d30b5448fe12fa8b4809ac46a (patch)
treedc4ae6fcc99d23b0fe0a1dd449cb6caa02c22b96
parent1c00213b65688bfab33a25b7792237b1289d996b (diff)
voodoo: Restore some cycle stealing on vretrace to allow sfrush to boot.
-rw-r--r--src/devices/video/voodoo.cpp3
1 files changed, 3 insertions, 0 deletions
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();
}