From ffed23c059f52dfbe1dbd089d6861c68b8960035 Mon Sep 17 00:00:00 2001 From: Pokechu22 Date: Fri, 7 Oct 2022 12:25:04 -0700 Subject: Simplify saving CP state Rather than makring some parts of VertexLoaderManager dirty in some places and some in others, do it all in VideoState. Also, since CPState no longer contains pointers/non-CP data after d039b1bc0dfaba2a88036468b6d971bb1d7e463d, we can just use p.Do on it instead of manually saving each field. --- Source/Core/VideoCommon/VertexLoaderManager.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'Source/Core/VideoCommon/VertexLoaderManager.cpp') diff --git a/Source/Core/VideoCommon/VertexLoaderManager.cpp b/Source/Core/VideoCommon/VertexLoaderManager.cpp index bb843a6120..08dbe8a4d5 100644 --- a/Source/Core/VideoCommon/VertexLoaderManager.cpp +++ b/Source/Core/VideoCommon/VertexLoaderManager.cpp @@ -123,6 +123,7 @@ struct entry void MarkAllDirty() { + g_bases_dirty = true; g_main_vat_dirty = BitSet8::AllTrue(8); g_preprocess_vat_dirty = BitSet8::AllTrue(8); } -- cgit v1.2.3