From 13b398ac46aa375fa1bfc547cb35c0d8ecffb13a Mon Sep 17 00:00:00 2001 From: Connor McLaughlin Date: Tue, 13 Apr 2021 13:18:49 +1000 Subject: [PATCH] GPU: Treat 0xFF commands as nops Fixes slowdown in Soviet Strike and 40 Winks. --- src/core/gpu_commands.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/core/gpu_commands.cpp b/src/core/gpu_commands.cpp index fea325276..a2586ab7a 100644 --- a/src/core/gpu_commands.cpp +++ b/src/core/gpu_commands.cpp @@ -165,6 +165,8 @@ GPU::GP0CommandHandlerTable GPU::GenerateGP0CommandHandlerTable() for (u32 i = 0xC0; i <= 0xDF; i++) table[i] = &GPU::HandleCopyRectangleVRAMToCPUCommand; + table[0xFF] = &GPU::HandleNOPCommand; + return table; }