mirror of
https://github.com/RaySollium99/picodrive.git
synced 2025-09-05 15:27:46 -04:00
sh2 drc, fix for SH2 T handling in Mips/RiscV
This commit is contained in:
parent
09cab6d27a
commit
18c95d9f57
2 changed files with 10 additions and 17 deletions
|
@ -1801,7 +1801,7 @@ static void emith_set_t_cond(int sr, int cond)
|
|||
EMIT(MIPS_SLTU_IMM(AT,AT, 1)); r=AT; val++; break;
|
||||
} else if ((b>>5) == OP_BNE) {
|
||||
EMIT(MIPS_XOR_REG(AT, r, b&0x1f));
|
||||
EMIT(MIPS_SLTU_IMM(AT,Z0,AT)); r=AT; val++; break;
|
||||
EMIT(MIPS_SLTU_REG(AT,Z0,AT)); r=AT; val++; break;
|
||||
}
|
||||
}
|
||||
if (val) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue