mirror of
https://github.com/RaySollium99/picodrive.git
synced 2025-09-05 07:17:45 -04:00
32x, reset handling and synchronization changes
This commit is contained in:
parent
7e0c38c9c7
commit
eb990fd62a
3 changed files with 6 additions and 23 deletions
|
@ -192,6 +192,9 @@ int PicoReset(void)
|
|||
|
||||
SekFinishIdleDet();
|
||||
|
||||
if (PicoIn.opt & POPT_EN_32X)
|
||||
PicoReset32x();
|
||||
|
||||
if (PicoIn.AHW & PAHW_MCD) {
|
||||
PicoResetMCD();
|
||||
return 0;
|
||||
|
@ -201,9 +204,6 @@ int PicoReset(void)
|
|||
if (!(PicoIn.opt & POPT_DIS_IDLE_DET))
|
||||
SekInitIdleDet();
|
||||
|
||||
if (PicoIn.opt & POPT_EN_32X)
|
||||
PicoReset32x();
|
||||
|
||||
// reset sram state; enable sram access by default if it doesn't overlap with ROM
|
||||
Pico.m.sram_reg = 0;
|
||||
if ((Pico.sv.flags & SRF_EEPROM) || Pico.romsize <= Pico.sv.start)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue