summaryrefslogtreecommitdiff
path: root/Source/Core/VideoCommon/VideoState.cpp
diff options
context:
space:
mode:
authorMai <mai.iam2048@gmail.com>2022-12-10 19:13:23 +0000
committerGitHub <noreply@github.com>2022-12-10 19:13:23 +0000
commit54e01c660e7f11f0abc47d66427e4b74c438bb94 (patch)
tree82e740cb05a6811e17e1f324679ba7c2c6bb2bc3 /Source/Core/VideoCommon/VideoState.cpp
parent128c23dc29b03740a79bf88cae43699ec8578c35 (diff)
parentceae4242fc4775b19193ce16dc3055c7845f20d4 (diff)
Merge pull request #11334 from AdmiralCurtiss/globals-fifo
VideoCommon/Fifo: Refactor to class, move to Core::System.
Diffstat (limited to 'Source/Core/VideoCommon/VideoState.cpp')
-rw-r--r--Source/Core/VideoCommon/VideoState.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/Core/VideoCommon/VideoState.cpp b/Source/Core/VideoCommon/VideoState.cpp
index ce76727a0b..9279e7f72c 100644
--- a/Source/Core/VideoCommon/VideoState.cpp
+++ b/Source/Core/VideoCommon/VideoState.cpp
@@ -60,10 +60,10 @@ void VideoCommon_DoState(PointerWrap& p)
p.DoMarker("TMEM");
// FIFO
- Fifo::DoState(p);
+ auto& system = Core::System::GetInstance();
+ system.GetFifo().DoState(p);
p.DoMarker("Fifo");
- auto& system = Core::System::GetInstance();
auto& command_processor = system.GetCommandProcessor();
command_processor.DoState(p);
p.DoMarker("CommandProcessor");