mirror of
https://github.com/RaySollium99/picodrive.git
synced 2025-09-05 15:27:46 -04:00
32x: initial code (security code passes)
git-svn-id: file:///home/notaz/opt/svn/PicoDrive@772 be3aeb3a-fb24-0410-a615-afba39da0efa
This commit is contained in:
parent
000f53350c
commit
be2c420828
8 changed files with 340 additions and 5 deletions
|
@ -40,6 +40,7 @@ void PicoInit(void)
|
|||
|
||||
PicoInitMCD();
|
||||
PicoSVPInit();
|
||||
Pico32xInit();
|
||||
}
|
||||
|
||||
// to be called once on emu exit
|
||||
|
@ -187,6 +188,11 @@ int PicoReset(void)
|
|||
if (!(PicoOpt & POPT_DIS_IDLE_DET))
|
||||
SekInitIdleDet();
|
||||
|
||||
if (!(PicoOpt & POPT_DIS_32X)) {
|
||||
PicoReset32x();
|
||||
return 0;
|
||||
}
|
||||
|
||||
// reset sram state; enable sram access by default if it doesn't overlap with ROM
|
||||
Pico.m.sram_reg = 0;
|
||||
if ((SRam.flags & SRF_EEPROM) || Pico.romsize <= SRam.start)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue