32x, tiny optimization for memory access

This commit is contained in:
kub 2020-12-14 21:05:51 +01:00
parent faedc4f1e2
commit e0d5c83fd3
2 changed files with 4 additions and 4 deletions

View file

@ -384,7 +384,7 @@ static int emith_rd(u32 op)
ret = emith_has_(rd,2,op, 0,0x3f) ? (op>>16)&0x1f :-1;
if ((op>>26) == OP__RT)
ret = -1;
return (ret ?: -1); // Z0 doesn't have dependencies
return (ret ? ret : -1); // Z0 doesn't have dependencies
}
static int emith_b_isswap(u32 bop, u32 lop)