diff options
| author | Lioncash <mathew1800@gmail.com> | 2015-09-29 12:35:30 -0400 |
|---|---|---|
| committer | Lioncash <mathew1800@gmail.com> | 2015-09-30 19:45:46 -0400 |
| commit | c6678687b08bec0b5aa8608b6b71c3ae1e4b8316 (patch) | |
| tree | 80a8c9aa157555f03c6878fbe0e7fb5e3d841131 /Source/Core/VideoCommon/VideoState.cpp | |
| parent | 6a27f1bbf6422f898f3478e7d6edbf1fdba97c39 (diff) | |
ChunkFile: Provide additional helpers for C-style arrays
Gets rid of magic numbers in cases where the array size is known at compile time.
This is also useful for future entries that are stack allocated arrays as these
functions prevent incorrect sizes being provided.
Diffstat (limited to 'Source/Core/VideoCommon/VideoState.cpp')
| -rw-r--r-- | Source/Core/VideoCommon/VideoState.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Core/VideoCommon/VideoState.cpp b/Source/Core/VideoCommon/VideoState.cpp index 27280ace23..5922bb3905 100644 --- a/Source/Core/VideoCommon/VideoState.cpp +++ b/Source/Core/VideoCommon/VideoState.cpp @@ -31,7 +31,7 @@ static void DoState(PointerWrap &p) p.DoMarker("XF Memory"); // Texture decoder - p.DoArray(texMem, TMEM_SIZE); + p.DoArray(texMem); p.DoMarker("texMem"); // FIFO |
