From ce9925d257ca16018bcffcc234235c641eb9f902 Mon Sep 17 00:00:00 2001 From: Magnus Norddahl Date: Sat, 15 Sep 2018 01:06:48 +0200 Subject: [PATCH] - fix bug in LKF_R --- src/scripting/vm/jit_load.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/scripting/vm/jit_load.cpp b/src/scripting/vm/jit_load.cpp index 43a6e183b..df91cf492 100644 --- a/src/scripting/vm/jit_load.cpp +++ b/src/scripting/vm/jit_load.cpp @@ -42,7 +42,7 @@ void JitCompiler::EmitLK_R() void JitCompiler::EmitLKF_R() { auto tmp = cc.newIntPtr(); - cc.mov(tmp, ToMemAddress(konstf + BC)); + cc.mov(tmp, ToMemAddress(konstf)); cc.movsd(regF[A], asmjit::x86::qword_ptr(tmp, regD[B], 3, C * sizeof(double))); }