mirror of
https://github.com/holub/mame
synced 2025-05-20 04:39:11 +03:00
sianniv: "fix" the hack to make sianniv working [O. Galibert]
This commit is contained in:
parent
9b9a549403
commit
bf338df59d
@ -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
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user