mirror of
https://github.com/RetroDECK/Duckstation.git
synced 2024-11-26 23:55:40 +00:00
Fixed cheat type 52 only working with 1st subtype
Fixed typo in ExtCheatRegistersCompare, which made it so that only 52 type 5200 worked,
This commit is contained in:
parent
a542fa85d6
commit
106dc2951d
|
@ -1738,7 +1738,7 @@ void CheatCode::Apply() const
|
|||
bool activate_codes = false;
|
||||
const u8 cht_reg_no1 = Truncate8(inst.address & 0xFFu);
|
||||
const u8 cht_reg_no2 = Truncate8((inst.address & 0xFF00u) >> 8);
|
||||
const u8 sub_type = Truncate8((inst.value32 & 0xFF0000u) >> 16);
|
||||
const u8 sub_type = Truncate8((inst.first & 0xFF0000u) >> 16);
|
||||
|
||||
switch (sub_type)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue