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:
parent
ebc39eae64
commit
a72134539d
|
@ -3358,8 +3358,8 @@ static int OP_CMP(const u32 i)
|
||||||
static int OP_CMP_SPE(const u32 i)
|
static int OP_CMP_SPE(const u32 i)
|
||||||
{
|
{
|
||||||
u32 Rn = (i&7) | ((i>>4)&8);
|
u32 Rn = (i&7) | ((i>>4)&8);
|
||||||
reg_pos_ptr(3, tmp, VALUE);
|
reg_pos_ptr(3, tmp2, VALUE);
|
||||||
reg_ptr(Rn, tmp2, VALUE);
|
reg_ptr(Rn, tmp, VALUE);
|
||||||
emit_cmp(g_out, tmp, tmp2);
|
emit_cmp(g_out, tmp, tmp2);
|
||||||
SET_NZCV(1);
|
SET_NZCV(1);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue