From 79b2185117bb2ecba4d069d9eb1ff6f2280905d0 Mon Sep 17 00:00:00 2001 From: Pokechu22 Date: Sat, 22 Jan 2022 16:31:33 -0800 Subject: OpcodeDecoding: Don't raise panic alerts for unknown opcodes 0x01-0x07 A pop-up is no longer generated for the Wiggler capsule in Mario Party 5 (https://bugs.dolphin-emu.org/issues/8104). --- Source/Core/VideoCommon/OpcodeDecoding.h | 1 - 1 file changed, 1 deletion(-) (limited to 'Source/Core/VideoCommon/OpcodeDecoding.h') diff --git a/Source/Core/VideoCommon/OpcodeDecoding.h b/Source/Core/VideoCommon/OpcodeDecoding.h index 58295a5304..7c90997256 100644 --- a/Source/Core/VideoCommon/OpcodeDecoding.h +++ b/Source/Core/VideoCommon/OpcodeDecoding.h @@ -24,7 +24,6 @@ extern bool g_record_fifo_data; enum class Opcode { GX_NOP = 0x00, - GX_UNKNOWN_RESET = 0x01, GX_LOAD_BP_REG = 0x61, GX_LOAD_CP_REG = 0x08, -- cgit v1.2.3 From 8d7eff2a8a5ffc204565e554dc0a71206f7032a4 Mon Sep 17 00:00:00 2001 From: Pokechu22 Date: Sat, 22 Jan 2022 22:02:20 -0800 Subject: VideoCommon: Move logging/seen check for unknown opcodes into CommandProcessor That way, they're in the same place the panic alerts are generated. --- Source/Core/VideoCommon/OpcodeDecoding.h | 2 -- 1 file changed, 2 deletions(-) (limited to 'Source/Core/VideoCommon/OpcodeDecoding.h') diff --git a/Source/Core/VideoCommon/OpcodeDecoding.h b/Source/Core/VideoCommon/OpcodeDecoding.h index 7c90997256..1badf63196 100644 --- a/Source/Core/VideoCommon/OpcodeDecoding.h +++ b/Source/Core/VideoCommon/OpcodeDecoding.h @@ -60,8 +60,6 @@ enum class Primitive : u8 GX_DRAW_POINTS = 0x7 // 0xB8 }; -void Init(); - // Interface for the Run and RunCommand functions below. // The functions themselves are templates so that the compiler generates separate versions for each // callback (with the callback functions inlined), so the callback doesn't actually need to be -- cgit v1.2.3