Common/PointerWrap: Hide internals.

This commit is contained in:
Admiral H. Curtiss 2022-04-18 03:41:14 +02:00
commit 853cf4f818
No known key found for this signature in database
GPG key ID: F051B4C4044F33FB
5 changed files with 6 additions and 5 deletions

View file

@ -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;