SaveState: Split Do() into a separate header.
This commit is contained in:
parent
dd79d33f14
commit
4b4e3432cd
105 changed files with 1630 additions and 1556 deletions
|
@ -15,13 +15,14 @@
|
|||
// Official git repository and contact information can be found at
|
||||
// https://github.com/hrydgard/ppsspp and http://www.ppsspp.org/.
|
||||
|
||||
#include "Common/ChunkFile.h"
|
||||
#include "Common/ChunkFileDo.h"
|
||||
#include "Core/HLE/sceKernel.h"
|
||||
#include "Core/HLE/sceKernelAlarm.h"
|
||||
#include "Core/HLE/sceKernelInterrupt.h"
|
||||
#include "Core/HLE/HLE.h"
|
||||
#include "Core/CoreTiming.h"
|
||||
#include "Core/MemMap.h"
|
||||
#include "Common/ChunkFile.h"
|
||||
#include <list>
|
||||
|
||||
const int NATIVEALARM_SIZE = 20;
|
||||
|
@ -50,7 +51,7 @@ struct PSPAlarm : public KernelObject {
|
|||
if (!s)
|
||||
return;
|
||||
|
||||
p.Do(alm);
|
||||
Do(p, alm);
|
||||
}
|
||||
|
||||
NativeAlarm alm;
|
||||
|
@ -136,8 +137,8 @@ void __KernelAlarmDoState(PointerWrap &p)
|
|||
if (!s)
|
||||
return;
|
||||
|
||||
p.Do(alarmTimer);
|
||||
p.Do(triggeredAlarm);
|
||||
Do(p, alarmTimer);
|
||||
Do(p, triggeredAlarm);
|
||||
CoreTiming::RestoreRegisterEvent(alarmTimer, "Alarm", __KernelTriggerAlarm);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue