Use a base time throughout rtc and kernel time.

This way, time doesn't move abnormally as far as the game can tell,
even when savestates and fast forward and pause are used.
This commit is contained in:
Unknown W. Brackets 2013-05-05 10:12:29 -07:00
parent bbbfa715cd
commit db54bffe14
4 changed files with 48 additions and 32 deletions

View file

@ -57,6 +57,7 @@
#include "scePower.h"
#include "sceUtility.h"
#include "sceUmd.h"
#include "sceRtc.h"
#include "sceSsl.h"
#include "sceSas.h"
#include "scePsmf.h"
@ -108,6 +109,7 @@ void __KernelInit()
__MpegInit(PSP_CoreParameter().useMediaEngine);
__PsmfInit();
__CtrlInit();
__RtcInit();
__SslInit();
__ImposeInit();
__UsbInit();
@ -201,6 +203,7 @@ void __KernelDoState(PointerWrap &p)
__PowerDoState(p);
__PsmfDoState(p);
__PsmfPlayerDoState(p);
__RtcDoState(p);
__SasDoState(p);
__SslDoState(p);
__UmdDoState(p);