JIT (ARM): Fix bug that prevented the Titan LMNTS Demo homebrew ROM from starting up.

- Special thanks to @byte4byte! His notes: "Fixed cmp operands, Fixes titan homebrew rom"
This commit is contained in:
rogerman 2022-04-27 18:08:34 -07:00
parent ebc39eae64
commit a72134539d
1 changed files with 2 additions and 2 deletions

View File

@ -3358,8 +3358,8 @@ static int OP_CMP(const u32 i)
static int OP_CMP_SPE(const u32 i)
{
u32 Rn = (i&7) | ((i>>4)&8);
reg_pos_ptr(3, tmp, VALUE);
reg_ptr(Rn, tmp2, VALUE);
reg_pos_ptr(3, tmp2, VALUE);
reg_ptr(Rn, tmp, VALUE);
emit_cmp(g_out, tmp, tmp2);
SET_NZCV(1);