Merge pull request #12406 from Tilka/xf_assert_msg
VideoCommon: add message to XF load assert
This commit is contained in:
commit
022b0a00a2
|
@ -159,7 +159,7 @@ static DOLPHIN_FORCE_INLINE u32 RunCommand(const u8* data, u32 available, T& cal
|
|||
const u16 base_address = cmd2 & 0xffff;
|
||||
|
||||
const u16 stream_size_temp = cmd2 >> 16;
|
||||
ASSERT(stream_size_temp < 16);
|
||||
ASSERT_MSG(VIDEO, stream_size_temp < 16, "cmd2 = 0x{:08X}", cmd2);
|
||||
const u8 stream_size = (stream_size_temp & 0xf) + 1;
|
||||
|
||||
if (available < u32(5 + stream_size * 4))
|
||||
|
|
Loading…
Reference in New Issue