From a33cf278854ff2cb3fe8c1de193a0a344b1c9abd Mon Sep 17 00:00:00 2001 From: Scott Mansell Date: Sun, 10 Oct 2021 15:49:59 +1300 Subject: TMEM: Handle savestate and init --- Source/Core/VideoCommon/VideoState.cpp | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'Source/Core/VideoCommon/VideoState.cpp') diff --git a/Source/Core/VideoCommon/VideoState.cpp b/Source/Core/VideoCommon/VideoState.cpp index f954ca7c30..dc5ed9336e 100644 --- a/Source/Core/VideoCommon/VideoState.cpp +++ b/Source/Core/VideoCommon/VideoState.cpp @@ -13,6 +13,7 @@ #include "VideoCommon/PixelEngine.h" #include "VideoCommon/PixelShaderManager.h" #include "VideoCommon/RenderBase.h" +#include "VideoCommon/TMEM.h" #include "VideoCommon/TextureCacheBase.h" #include "VideoCommon/TextureDecoder.h" #include "VideoCommon/VertexManagerBase.h" @@ -46,6 +47,10 @@ void VideoCommon_DoState(PointerWrap& p) p.DoArray(texMem); p.DoMarker("texMem"); + // TMEM + TMEM::DoState(p); + p.DoMarker("TMEM"); + // FIFO Fifo::DoState(p); p.DoMarker("Fifo"); -- cgit v1.2.3