Add basic DoState() to tertiary kernel objects.

This commit is contained in:
Unknown W. Brackets committed 2012-12-28 13:52:52 -08:00
1 parent a2f4c83c90
commit 991243fffd
8 files changed
+85 -12

No files matched your search

+12
View File
@@ -30,6 +30,18 @@ struct VTimer : public KernelObject
static u32 GetMissingErrorCode() { return SCE_KERNEL_ERROR_UNKNOWN_VTID; }
int GetIDType() const { return SCE_KERNEL_TMID_VTimer; }
virtual void DoState(PointerWrap &p)
{
p.Do(size);
p.Do(name);
p.Do(startTime);
p.Do(running);
p.Do(handler);
p.Do(handlerTime);
p.Do(argument);
p.DoMarker("VTimer");
}
SceSize size;
char name[KERNELOBJECT_MAX_NAME_LENGTH+1];
u64 startTime;