From 1500a0119bbb9086b0482a94b154612a0684f194 Mon Sep 17 00:00:00 2001 From: Pokechu22 Date: Tue, 8 Jun 2021 21:35:43 -0700 Subject: Eliminate TVtxDesc.GetLegacyHex --- Source/Core/VideoCommon/CPMemory.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'Source/Core/VideoCommon/CPMemory.cpp') diff --git a/Source/Core/VideoCommon/CPMemory.cpp b/Source/Core/VideoCommon/CPMemory.cpp index eb59869368..87f3375b31 100644 --- a/Source/Core/VideoCommon/CPMemory.cpp +++ b/Source/Core/VideoCommon/CPMemory.cpp @@ -17,9 +17,7 @@ void DoCPState(PointerWrap& p) p.DoArray(g_main_cp_state.array_strides); p.Do(g_main_cp_state.matrix_index_a); p.Do(g_main_cp_state.matrix_index_b); - u64 vtx_desc = g_main_cp_state.vtx_desc.GetLegacyHex(); - p.Do(vtx_desc); - g_main_cp_state.vtx_desc.SetLegacyHex(vtx_desc); + 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) -- cgit v1.2.3