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.
This commit is contained in:
1 parent
6a27f1bbf6
commit
c6678687b0
12 files changed
+38
-32
No files matched your search
@@ -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
|
||||
|
||||
Reference in new issue
Block a user