diff options
| author | Admiral H. Curtiss <pikachu025@gmail.com> | 2022-10-11 03:42:17 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-10-11 03:42:17 +0200 |
| commit | a056a1366f458754aee61b67f05f61f34c826353 (patch) | |
| tree | 7a223982642ae558808d0279f6de34eee746369f /Source/Core/VideoCommon/VertexManagerBase.cpp | |
| parent | 333ede5416217cf88ea210e284cfb4f76d49e0f6 (diff) | |
| parent | ffed23c059f52dfbe1dbd089d6861c68b8960035 (diff) | |
Merge pull request #11131 from Pokechu22/cp-state-savestate-mistakes
Include tangent/binormal cache in savestates and simplify saving CP state
Diffstat (limited to 'Source/Core/VideoCommon/VertexManagerBase.cpp')
| -rw-r--r-- | Source/Core/VideoCommon/VertexManagerBase.cpp | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/Source/Core/VideoCommon/VertexManagerBase.cpp b/Source/Core/VideoCommon/VertexManagerBase.cpp index e77e6e4525..41b3968b2b 100644 --- a/Source/Core/VideoCommon/VertexManagerBase.cpp +++ b/Source/Core/VideoCommon/VertexManagerBase.cpp @@ -557,13 +557,11 @@ void VertexManagerBase::DoState(PointerWrap& p) { // Flush old vertex data before loading state. Flush(); - - // Clear all caches that touch RAM - // (? these don't appear to touch any emulation state that gets saved. moved to on load only.) - VertexLoaderManager::MarkAllDirty(); } p.Do(m_zslope); + p.Do(VertexLoaderManager::tangent_cache); + p.Do(VertexLoaderManager::binormal_cache); } void VertexManagerBase::CalculateZSlope(NativeVertexFormat* format) |
