32x: improve irq handling + few bugfixes

git-svn-id: file:///home/notaz/opt/svn/PicoDrive@866 be3aeb3a-fb24-0410-a615-afba39da0efa
This commit is contained in:
notaz 2010-01-23 23:36:58 +00:00
parent 04092e329b
commit 1f1ff763e6
10 changed files with 43 additions and 38 deletions

View file

@ -192,10 +192,8 @@ int PicoReset(void)
if (!(PicoOpt & POPT_DIS_IDLE_DET))
SekInitIdleDet();
if (PicoOpt & POPT_EN_32X) {
if (PicoOpt & POPT_EN_32X)
PicoReset32x();
return 0;
}
// reset sram state; enable sram access by default if it doesn't overlap with ROM
Pico.m.sram_reg = 0;