mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-21 05:09:34 -06:00
VideoCommon/CommandProcessor: Refactor to class, move to Core::System.
This commit is contained in:
@ -6,6 +6,7 @@
|
||||
#include <cstring>
|
||||
|
||||
#include "Common/ChunkFile.h"
|
||||
#include "Core/System.h"
|
||||
#include "VideoCommon/BPMemory.h"
|
||||
#include "VideoCommon/CPMemory.h"
|
||||
#include "VideoCommon/CommandProcessor.h"
|
||||
@ -62,7 +63,9 @@ void VideoCommon_DoState(PointerWrap& p)
|
||||
Fifo::DoState(p);
|
||||
p.DoMarker("Fifo");
|
||||
|
||||
CommandProcessor::DoState(p);
|
||||
auto& system = Core::System::GetInstance();
|
||||
auto& command_processor = system.GetCommandProcessor();
|
||||
command_processor.DoState(p);
|
||||
p.DoMarker("CommandProcessor");
|
||||
|
||||
PixelEngine::DoState(p);
|
||||
|
Reference in New Issue
Block a user