summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
author Olivier Galibert <galibert@pobox.com>2011-09-06 13:16:37 +0000
committer Olivier Galibert <galibert@pobox.com>2011-09-06 13:16:37 +0000
commitbf338df59dfe1072ca7af8c721a3388faa6eb2e4 (patch)
tree885bc9ea0050559c0b3a59c6ae81782eec80723d
parent9b9a5494035a9b9b86d362fbe72cb54800e94d9e (diff)
sianniv: "fix" the hack to make sianniv working [O. Galibert]
-rw-r--r--src/emu/video/psx.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/emu/video/psx.c b/src/emu/video/psx.c
index 452ba70b99e..6281f7a8e1a 100644
--- a/src/emu/video/psx.c
+++ b/src/emu/video/psx.c
@@ -3641,7 +3641,7 @@ void psxgpu_device::vblank(screen_device &screen, bool vblank_state)
DebugCheckKeys();
#endif
-#if 0
+#if 1
/* HACK for sianniv
OG: sianniv does the bios startup, then loads the main program, clears the bss zone,
then starts it. More or less. Meanwhile, it somehow forgets to disable vblank,
@@ -3650,7 +3650,7 @@ void psxgpu_device::vblank(screen_device &screen, bool vblank_state)
What happens on the real hardware? Screen turned off disabling vbl indirectly perhaps?
*/
UINT32 pc = cpu_get_pc(screen.machine().device("maincpu"));
- if((pc >= 0x80010018 && pc <= 0x80010028) || pc == 0x8002a4f0)
+ if((pc >= 0x80010018 && pc <= 0x80010028) || pc == 0x8002a4f0 || pc == 0x8002a4f4)
return;
#endif