mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-01-26 03:35:26 +00:00
PowerPC: Fix Dynamic BAT savestates
This commit is contained in:
parent
ed95115c17
commit
f9a88adddc
@ -73,6 +73,11 @@ void DoState(PointerWrap& p)
|
||||
// comes first :)
|
||||
|
||||
p.DoPOD(ppcState);
|
||||
if (p.GetMode() == PointerWrap::MODE_READ)
|
||||
{
|
||||
IBATUpdated();
|
||||
DBATUpdated();
|
||||
}
|
||||
|
||||
// SystemTimers::DecrementerSet();
|
||||
// SystemTimers::TimeBaseSet();
|
||||
@ -108,6 +113,9 @@ static void ResetRegisters()
|
||||
for (auto& v : ppcState.cr_val)
|
||||
v = 0x8000000000000001;
|
||||
|
||||
DBATUpdated();
|
||||
IBATUpdated();
|
||||
|
||||
TL = 0;
|
||||
TU = 0;
|
||||
SystemTimers::TimeBaseSet();
|
||||
|
Loading…
x
Reference in New Issue
Block a user