From 05f3bbfa4d22bf50e803dfb1c75657e1a9f953a7 Mon Sep 17 00:00:00 2001 From: Pokechu22 Date: Fri, 7 Oct 2022 11:52:44 -0700 Subject: Include tangent/binormal cache in savestates This theoretically matters for RS2/RS3, although in practice these games reconfigure it each frame so it shouldn't matter for savestates. --- Source/Core/VideoCommon/VertexManagerBase.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'Source/Core/VideoCommon/VertexManagerBase.cpp') diff --git a/Source/Core/VideoCommon/VertexManagerBase.cpp b/Source/Core/VideoCommon/VertexManagerBase.cpp index e77e6e4525..c208f81097 100644 --- a/Source/Core/VideoCommon/VertexManagerBase.cpp +++ b/Source/Core/VideoCommon/VertexManagerBase.cpp @@ -564,6 +564,8 @@ void VertexManagerBase::DoState(PointerWrap& p) } p.Do(m_zslope); + p.Do(VertexLoaderManager::tangent_cache); + p.Do(VertexLoaderManager::binormal_cache); } void VertexManagerBase::CalculateZSlope(NativeVertexFormat* format) -- cgit v1.2.3