summaryrefslogtreecommitdiff
path: root/Source/Core/VideoCommon/VideoState.cpp
diff options
context:
space:
mode:
authorTilka <tilkax@gmail.com>2023-11-28 02:04:26 +0000
committerGitHub <noreply@github.com>2023-11-28 02:04:26 +0000
commitb8a897fda76e8979b82472cfd7caf8911bef9145 (patch)
tree0c1a7ddc01c583f334ff63528be98108eb0d9588 /Source/Core/VideoCommon/VideoState.cpp
parent074de243e30eeda7fedf2971161a82279a36a2e0 (diff)
parent095f946b6648a30faed9601538cf8a2bf8bf8f59 (diff)
Merge pull request #12328 from iwubcode/xf_state_manager
VideoCommon: move xf state management to its own class
Diffstat (limited to 'Source/Core/VideoCommon/VideoState.cpp')
-rw-r--r--Source/Core/VideoCommon/VideoState.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/Source/Core/VideoCommon/VideoState.cpp b/Source/Core/VideoCommon/VideoState.cpp
index 7f005e1474..594aca1598 100644
--- a/Source/Core/VideoCommon/VideoState.cpp
+++ b/Source/Core/VideoCommon/VideoState.cpp
@@ -27,6 +27,7 @@
#include "VideoCommon/VertexShaderManager.h"
#include "VideoCommon/Widescreen.h"
#include "VideoCommon/XFMemory.h"
+#include "VideoCommon/XFStateManager.h"
void VideoCommon_DoState(PointerWrap& p)
{
@@ -105,6 +106,9 @@ void VideoCommon_DoState(PointerWrap& p)
g_widescreen->DoState(p);
p.DoMarker("Widescreen");
+ system.GetXFStateManager().DoState(p);
+ p.DoMarker("XFStateManager");
+
// Refresh state.
if (p.IsReadMode())
{