sianniv: "fix" the hack to make sianniv working [O. Galibert]

This commit is contained in:
Olivier Galibert 2011-09-06 13:16:37 +00:00
parent 9b9a549403
commit bf338df59d

View File

@ -3641,7 +3641,7 @@ void psxgpu_device::vblank(screen_device &screen, bool vblank_state)
DebugCheckKeys(); DebugCheckKeys();
#endif #endif
#if 0 #if 1
/* HACK for sianniv /* HACK for sianniv
OG: sianniv does the bios startup, then loads the main program, clears the bss zone, 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, 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? What happens on the real hardware? Screen turned off disabling vbl indirectly perhaps?
*/ */
UINT32 pc = cpu_get_pc(screen.machine().device("maincpu")); 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; return;
#endif #endif