mirror of
https://github.com/wheremyfoodat/Panda3DS.git
synced 2025-04-16 02:49:48 +12:00
Fix typo & reset FPRs on CPU reset
This commit is contained in:
parent
6b69010628
commit
672a893938
2 changed files with 2 additions and 1 deletions
|
@ -62,6 +62,6 @@ namespace FPSCR {
|
||||||
|
|
||||||
// Default FPSCR value for threads
|
// Default FPSCR value for threads
|
||||||
ThreadDefault = DefaultNan | FlushToZero | RoundToZero,
|
ThreadDefault = DefaultNan | FlushToZero | RoundToZero,
|
||||||
MainThreadDefault = ThreadDefault | IXC;
|
MainThreadDefault = ThreadDefault | IXC
|
||||||
};
|
};
|
||||||
}
|
}
|
|
@ -26,6 +26,7 @@ void CPU::reset() {
|
||||||
jit->Reset();
|
jit->Reset();
|
||||||
jit->ClearCache();
|
jit->ClearCache();
|
||||||
jit->Regs().fill(0);
|
jit->Regs().fill(0);
|
||||||
|
jit->ExtRegs().fill(0);
|
||||||
}
|
}
|
||||||
|
|
||||||
#endif // CPU_DYNARMIC
|
#endif // CPU_DYNARMIC
|
Loading…
Add table
Reference in a new issue