mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-09 09:39:13 +00:00
FifoPlayer: reduce XF_REGS_SIZE to what we know
This avoids out-of-bounds warnings when replaying FIFO captures. The value of XF_REGS_SIZE is written into the DFF header and we only read the min of XF_REGS_SIZE and the header value, so this change is backward compatible and doesn't break forward compatibility for old Dolphin versions either.
This commit is contained in:
parent
feaa466edc
commit
9c7136453d
2 changed files with 4 additions and 1 deletions
|
@ -288,6 +288,7 @@ struct XFMemory
|
|||
u32 unk9[8]; // 0x1048 - 0x104f
|
||||
PostMtxInfo postMtxInfo[8]; // 0x1050 - 0x1057
|
||||
};
|
||||
static_assert(sizeof(XFMemory) == sizeof(u32) * 0x1058);
|
||||
|
||||
extern XFMemory xfmem;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue