mirror of
https://github.com/melonDS-emu/melonDS.git
synced 2025-07-23 06:10:03 -06:00
fixes for flag optimisation
This commit is contained in:
@ -436,7 +436,7 @@ Info Decode(bool thumb, u32 num, u32 instr)
|
||||
if ((instr >> 28) < 0xE)
|
||||
{
|
||||
// make non conditional flag sets conditional
|
||||
res.WriteFlags = res.WriteFlags | (res.WriteFlags << 4);
|
||||
res.WriteFlags = (res.WriteFlags | (res.WriteFlags << 4)) & 0xF0;
|
||||
res.ReadFlags |= FlagsReadPerCond[instr >> 29];
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user