mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-28 19:58:53 +00:00
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:
parent
6a27f1bbf6
commit
c6678687b0
12 changed files with 38 additions and 32 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue