summaryrefslogtreecommitdiff
path: root/Source/Core/VideoCommon/OpcodeDecoding.h
diff options
context:
space:
mode:
authorMai <mai.iam2048@gmail.com>2023-12-12 18:36:28 -0500
committerGitHub <noreply@github.com>2023-12-12 18:36:28 -0500
commit022b0a00a222235cc83b48ce1036fa6144c79704 (patch)
tree44d7d91ec4f3baabd0266dde6fdf55c64a419ca5 /Source/Core/VideoCommon/OpcodeDecoding.h
parent53a51a6f1bd166539836a2c3eee57b7b42e47cd4 (diff)
parent5b4b8dba617d12b846a4cb471c633dcc2baa6adc (diff)
Merge pull request #12406 from Tilka/xf_assert_msg
VideoCommon: add message to XF load assert
Diffstat (limited to 'Source/Core/VideoCommon/OpcodeDecoding.h')
-rw-r--r--Source/Core/VideoCommon/OpcodeDecoding.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Core/VideoCommon/OpcodeDecoding.h b/Source/Core/VideoCommon/OpcodeDecoding.h
index 2035f5c733..19c66716da 100644
--- a/Source/Core/VideoCommon/OpcodeDecoding.h
+++ b/Source/Core/VideoCommon/OpcodeDecoding.h
@@ -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))