summaryrefslogtreecommitdiff
path: root/Source/Core/VideoCommon/CPMemory.cpp
diff options
context:
space:
mode:
authorflacs <tilkax@gmail.com>2015-10-01 01:55:54 +0200
committerflacs <tilkax@gmail.com>2015-10-01 01:55:54 +0200
commit696d6eae099feba23c280017c5184785fc1e3076 (patch)
tree9f8ea4c014a142bdf4e08c678f4e748f1a9f3697 /Source/Core/VideoCommon/CPMemory.cpp
parent6305437327171e92873eb2e25cba14e8ffb352cc (diff)
parenta10be269725b67b0a5741cc4944f5c225eef7f75 (diff)
Merge pull request #3108 from lioncash/cstyle-array
ChunkFile: Provide additional helpers for C-style arrays
Diffstat (limited to 'Source/Core/VideoCommon/CPMemory.cpp')
-rw-r--r--Source/Core/VideoCommon/CPMemory.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/Source/Core/VideoCommon/CPMemory.cpp b/Source/Core/VideoCommon/CPMemory.cpp
index 5fc7bbe98d..bfdf4416fa 100644
--- a/Source/Core/VideoCommon/CPMemory.cpp
+++ b/Source/Core/VideoCommon/CPMemory.cpp
@@ -14,12 +14,12 @@ void DoCPState(PointerWrap& p)
{
// We don't save g_preprocess_cp_state separately because the GPU should be
// synced around state save/load.
- p.DoArray(g_main_cp_state.array_bases, 16);
- p.DoArray(g_main_cp_state.array_strides, 16);
+ p.DoArray(g_main_cp_state.array_bases);
+ 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);
p.Do(g_main_cp_state.vtx_desc.Hex);
- p.DoArray(g_main_cp_state.vtx_attr, 8);
+ p.DoArray(g_main_cp_state.vtx_attr);
p.DoMarker("CP Memory");
if (p.mode == PointerWrap::MODE_READ)
{