mirror of
https://github.com/RetroDECK/Duckstation.git
synced 2025-01-18 22:35:39 +00:00
GPU: Treat 0xFF commands as nops
Fixes slowdown in Soviet Strike and 40 Winks.
This commit is contained in:
parent
62718b3c50
commit
13b398ac46
|
@ -165,6 +165,8 @@ GPU::GP0CommandHandlerTable GPU::GenerateGP0CommandHandlerTable()
|
||||||
for (u32 i = 0xC0; i <= 0xDF; i++)
|
for (u32 i = 0xC0; i <= 0xDF; i++)
|
||||||
table[i] = &GPU::HandleCopyRectangleVRAMToCPUCommand;
|
table[i] = &GPU::HandleCopyRectangleVRAMToCPUCommand;
|
||||||
|
|
||||||
|
table[0xFF] = &GPU::HandleNOPCommand;
|
||||||
|
|
||||||
return table;
|
return table;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue