From 42f5338e5684affbc78b4bd9918c89fc0902b3dc Mon Sep 17 00:00:00 2001 From: mtabachenko Date: Thu, 18 Jul 2013 08:16:26 +0000 Subject: [PATCH] JIT: - fix firmware boot broken in r4689; --- desmume/src/arm_jit.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/desmume/src/arm_jit.cpp b/desmume/src/arm_jit.cpp index c00a438aa..03ff39563 100644 --- a/desmume/src/arm_jit.cpp +++ b/desmume/src/arm_jit.cpp @@ -3762,7 +3762,7 @@ static int op_bx_thumbR15() { GpVar dst = c.newGpVar(kX86VarTypeGpd); GpVar thumb = c.newGpVar(kX86VarTypeGpd); - c.mov(dst, bb_next_instruction); + c.mov(dst, bb_r15); c.and_(cpu_ptr(CPSR), (u32)~(1<< 5)); c.and_(dst, 0xFFFFFFFC); c.mov(reg_ptr(15), dst);