Skip to content

Commit

Permalink
Merge pull request #12406 from Tilka/xf_assert_msg
Browse files Browse the repository at this point in the history
VideoCommon: add message to XF load assert
  • Loading branch information
lioncash committed Dec 12, 2023
2 parents 53a51a6 + 5b4b8db commit 022b0a0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Source/Core/VideoCommon/OpcodeDecoding.h
Expand Up @@ -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))
Expand Down

0 comments on commit 022b0a0

Please sign in to comment.