From 11de923dcb7e6a7e1b29e5b15cb2bf71ede22b97 Mon Sep 17 00:00:00 2001 From: Scott Mansell Date: Tue, 31 Jan 2023 17:26:46 +1300 Subject: Move xfb tracking and IR scaling out of RenderBase --- Source/Core/VideoCommon/VideoState.cpp | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'Source/Core/VideoCommon/VideoState.cpp') diff --git a/Source/Core/VideoCommon/VideoState.cpp b/Source/Core/VideoCommon/VideoState.cpp index 75e9e4d3bc..6981e14adb 100644 --- a/Source/Core/VideoCommon/VideoState.cpp +++ b/Source/Core/VideoCommon/VideoState.cpp @@ -7,15 +7,18 @@ #include "Common/ChunkFile.h" #include "Core/System.h" +#include "VideoCommon/BoundingBox.h" #include "VideoCommon/BPMemory.h" #include "VideoCommon/BPStructs.h" #include "VideoCommon/CPMemory.h" #include "VideoCommon/CommandProcessor.h" #include "VideoCommon/Fifo.h" #include "VideoCommon/FramebufferManager.h" +#include "VideoCommon/FrameDumper.h" #include "VideoCommon/GeometryShaderManager.h" #include "VideoCommon/PixelEngine.h" #include "VideoCommon/PixelShaderManager.h" +#include "VideoCommon/Present.h" #include "VideoCommon/RenderBase.h" #include "VideoCommon/TMEM.h" #include "VideoCommon/TextureCacheBase.h" @@ -95,6 +98,14 @@ void VideoCommon_DoState(PointerWrap& p) g_renderer->DoState(p); p.DoMarker("Renderer"); + g_presenter->DoState(p); + g_frame_dumper->DoState(p); + p.DoMarker("Presenter"); + + g_bounding_box->DoState(p); + p.DoMarker("Bounding Box"); + + // Refresh state. if (p.IsReadMode()) { -- cgit v1.2.3