diff options
author | Olivier Galibert <galibert@pobox.com> | 2011-09-06 13:22:29 +0000 |
---|---|---|
committer | Olivier Galibert <galibert@pobox.com> | 2011-09-06 13:22:29 +0000 |
commit | 7150db5043d9fb09a84f92e7e2537743ac1b0744 (patch) | |
tree | dcb59fed4884735d0598037de2f59a7f1eedb20d | |
parent | bf338df59dfe1072ca7af8c721a3388faa6eb2e4 (diff) |
Quick and dirty sianniv check (nw)
-rw-r--r-- | src/emu/video/psx.c | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/src/emu/video/psx.c b/src/emu/video/psx.c index 6281f7a8e1a..2699843a943 100644 --- a/src/emu/video/psx.c +++ b/src/emu/video/psx.c @@ -3649,9 +3649,11 @@ void psxgpu_device::vblank(screen_device &screen, bool vblank_state) initialization, with insta-crash effects. 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 || pc == 0x8002a4f4) - return; + if(!strcmp(machine().system().name, "sianniv")) { + UINT32 pc = cpu_get_pc(machine().device("maincpu")); + if((pc >= 0x80010018 && pc <= 0x80010028) || pc == 0x8002a4f0 || pc == 0x8002a4f4) + return; + } #endif n_gpustatus ^= ( 1L << 31 ); |