summaryrefslogtreecommitdiff
path: root/Source/Core/VideoCommon/CPMemory.cpp
diff options
context:
space:
mode:
authorAdmiral H. Curtiss <pikachu025@gmail.com>2022-04-18 03:41:14 +0200
committerAdmiral H. Curtiss <pikachu025@gmail.com>2022-04-18 03:41:14 +0200
commit853cf4f8181dd0162e81ebcd61331d8765d089ca (patch)
treef328be08cdeaa78d46a25fb9716a2df2d44f63dc /Source/Core/VideoCommon/CPMemory.cpp
parent3ed9d5a3c7b2426cfbec5ae97df3e5fa6b5472d1 (diff)
Common/PointerWrap: Hide internals.
Diffstat (limited to 'Source/Core/VideoCommon/CPMemory.cpp')
-rw-r--r--Source/Core/VideoCommon/CPMemory.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Core/VideoCommon/CPMemory.cpp b/Source/Core/VideoCommon/CPMemory.cpp
index 0df0d9f1d8..3a2ee54bc6 100644
--- a/Source/Core/VideoCommon/CPMemory.cpp
+++ b/Source/Core/VideoCommon/CPMemory.cpp
@@ -26,7 +26,7 @@ void DoCPState(PointerWrap& p)
p.Do(g_main_cp_state.vtx_desc);
p.DoArray(g_main_cp_state.vtx_attr);
p.DoMarker("CP Memory");
- if (p.mode == PointerWrap::MODE_READ)
+ if (p.GetMode() == PointerWrap::MODE_READ)
{
CopyPreprocessCPStateFromMain();
VertexLoaderManager::g_bases_dirty = true;