mirror of
https://github.com/RaySollium99/picodrive.git
synced 2025-09-05 15:27:46 -04:00
cyclone_debug improvements pt. 2
git-svn-id: file:///home/notaz/opt/svn/PicoDrive@185 be3aeb3a-fb24-0410-a615-afba39da0efa
This commit is contained in:
parent
55ca4154a2
commit
2d0b15bb2c
7 changed files with 95 additions and 28 deletions
|
@ -72,6 +72,12 @@ static int SekUnrecognizedOpcode()
|
|||
PicoCpu.stopped = 1;
|
||||
return 1;
|
||||
}
|
||||
#ifdef EMU_M68K // debugging cyclone
|
||||
{
|
||||
extern int have_illegal;
|
||||
have_illegal = 1;
|
||||
}
|
||||
#endif
|
||||
//exit(1);
|
||||
return 0;
|
||||
}
|
||||
|
@ -144,6 +150,8 @@ int SekReset()
|
|||
#endif
|
||||
#ifdef EMU_M68K
|
||||
m68k_set_context(&PicoM68kCPU); // if we ever reset m68k, we always need it's context to be set
|
||||
m68ki_cpu.sp[0]=0;
|
||||
m68k_set_irq(0);
|
||||
m68k_pulse_reset();
|
||||
#endif
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue