From 5b4b8dba617d12b846a4cb471c633dcc2baa6adc Mon Sep 17 00:00:00 2001 From: Tillmann Karras Date: Mon, 11 Dec 2023 15:59:40 +0000 Subject: [PATCH] VideoCommon: add message to XF load assert --- Source/Core/VideoCommon/OpcodeDecoding.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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))