mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-10-20 23:19:19 +00:00
CoreTiming: Refactor to class.
This commit is contained in:
parent
ed84917eb3
commit
c9558ecb4c
47 changed files with 718 additions and 566 deletions
|
@ -39,6 +39,7 @@
|
|||
#include "Core/Movie.h"
|
||||
#include "Core/NetPlayClient.h"
|
||||
#include "Core/PowerPC/PowerPC.h"
|
||||
#include "Core/System.h"
|
||||
|
||||
#include "VideoCommon/FrameDump.h"
|
||||
#include "VideoCommon/OnScreenDisplay.h"
|
||||
|
@ -224,7 +225,7 @@ static void DoState(PointerWrap& p)
|
|||
p.DoMarker("PowerPC");
|
||||
// CoreTiming needs to be restored before restoring Hardware because
|
||||
// the controller code might need to schedule an event if the controller has changed.
|
||||
CoreTiming::DoState(p);
|
||||
Core::System::GetInstance().GetCoreTiming().DoState(p);
|
||||
p.DoMarker("CoreTiming");
|
||||
HW::DoState(p);
|
||||
p.DoMarker("HW");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue