dolphin/Source/Core/Core/FifoPlayer
Pokechu22 bac75de79c Fifo recorder: Fix incorrect calculation of the size of an array
The old calculation was stride * (max_index + 1), which fails if stride is less than the size of a component (for instance, if float XYZ positions are used, and the stride was set to 4 (i.e. sizeof(float)) instead of 12 (i.e. 3 * sizeof(float)), it would be missing the last 8 bytes of the final element in the array.  Or, if stride was set to 0, then no bytes would be recorded at all (though that's not a useful configuration so it's unlikely to actually exist).

I'm not aware of any games affected by this issue.
2022-10-22 13:36:16 -07:00
..
FifoDataFile.cpp FifoDataFile: Stop ignoring size 2022-02-13 14:38:59 -08:00
FifoDataFile.h Fix all uninitialized variable warnings (C26495) 2021-10-13 12:32:16 -07:00
FifoPlayer.cpp OpcodeDecoding: Get vertex size from the loader 2022-09-19 01:14:53 +02:00
FifoPlayer.h FifoPlayer: Allow changing loop option at runtime 2022-01-06 19:08:16 -08:00
FifoRecorder.cpp Fifo recorder: Fix incorrect calculation of the size of an array 2022-10-22 13:36:16 -07:00
FifoRecorder.h Refactor OpcodeDecoding and FIFO analyzer to use callbacks 2021-12-18 15:21:36 -08:00