mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-29 00:59:44 -06:00
PowerPC: Add reservation monitor to save state
This commit is contained in:
@ -125,6 +125,9 @@ void DoState(PointerWrap& p)
|
||||
p.Do(ppcState.pagetable_base);
|
||||
p.Do(ppcState.pagetable_hashmask);
|
||||
|
||||
p.Do(ppcState.reserve);
|
||||
p.Do(ppcState.reserve_address);
|
||||
|
||||
ppcState.iCache.DoState(p);
|
||||
|
||||
if (p.GetMode() == PointerWrap::MODE_READ)
|
||||
|
@ -167,8 +167,7 @@ struct PowerPCState
|
||||
|
||||
InstructionCache iCache;
|
||||
|
||||
// TODO: These should really be in the save state, although it's unlikely to matter much.
|
||||
// They are for lwarx and its friend stwcxd.
|
||||
// Reservation monitor for lwarx and its friend stwcxd.
|
||||
bool reserve;
|
||||
u32 reserve_address;
|
||||
|
||||
|
Reference in New Issue
Block a user