diff --git a/src/emu/machine/scudsp.c b/src/emu/machine/scudsp.c index 1d644579cb9..1ef54211bc6 100644 --- a/src/emu/machine/scudsp.c +++ b/src/emu/machine/scudsp.c @@ -71,7 +71,7 @@ Changelog: 0A D208000D JMP NZ,$D 0B 00000000 NOP 0C F8000000 ENDI - ... + 40 00863502 MOV M0,A MOV M2,PL 41 10003009 ADD MOV ALL,MC0 42 D3400042 JMP T0,$42 @@ -917,6 +917,12 @@ void dsp_execute_program(address_space &dmaspace) cycles_run++; + /* If we run this many cycles guess that the SCU DSP stalled, throw a fatalerror */ + if(cycles_run > 1000000) + { + fatalerror("SCU DSP stalled"); + } + } while( cont ); #if DEBUG_DSP dsp_dump_mem( log_file ); diff --git a/src/emu/machine/stvcd.c b/src/emu/machine/stvcd.c index 89f3b61b416..ec89b650443 100644 --- a/src/emu/machine/stvcd.c +++ b/src/emu/machine/stvcd.c @@ -202,7 +202,7 @@ void saturn_state::cd_exec_command( void ) /* Guess: X-Men COTA sequence is 0x48->0x48->0x04(01)->0x04(00)->0x30 then 0x10, without this game throws a FAD reject error */ /* X-Men vs. SF is even fussier, sequence is 0x04 (1) 0x04 (0) 0x03 (0) 0x03 (1) 0x30 */ #if 0 - for(i=0;i