summaryrefslogtreecommitdiff
path: root/Source/Core/VideoCommon/VideoState.cpp
diff options
context:
space:
mode:
authorScott Mansell <phiren@gmail.com>2021-10-10 15:49:59 +1300
committerScott Mansell <phiren@gmail.com>2021-10-12 15:51:24 +1300
commita33cf278854ff2cb3fe8c1de193a0a344b1c9abd (patch)
tree82d2a675170dd585d536af9cd69b170ebbf426fa /Source/Core/VideoCommon/VideoState.cpp
parent88bd10cd30d487cc3efba20875b32df7cdacb686 (diff)
TMEM: Handle savestate and init
Diffstat (limited to 'Source/Core/VideoCommon/VideoState.cpp')
-rw-r--r--Source/Core/VideoCommon/VideoState.cpp5
1 files changed, 5 insertions, 0 deletions
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");