From da3fdba7f42dfcc1657658398f004a9a3e3f984c Mon Sep 17 00:00:00 2001 From: Miku AuahDark Date: Mon, 27 Nov 2023 11:35:37 +0800 Subject: [PATCH] Android: Remove calls to luaJIT_setmode. Turning off JIT is now done in jitsetup.lua. --- src/modules/love/love.cpp | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/modules/love/love.cpp b/src/modules/love/love.cpp index 453f76e40..ef6f9700c 100644 --- a/src/modules/love/love.cpp +++ b/src/modules/love/love.cpp @@ -43,10 +43,6 @@ #ifdef LOVE_ANDROID #include -extern "C" -{ -#include "luajit.h" -} #endif // LOVE_ANDROID #ifdef LOVE_LEGENDARY_CONSOLE_IO_HACK @@ -438,7 +434,6 @@ int luaopen_love(lua_State *L) lua_setfield(L, -2, "_version_codename"); #ifdef LOVE_ANDROID - luaJIT_setmode(L, 0, LUAJIT_MODE_ENGINE | LUAJIT_MODE_OFF); lua_register(L, "print", w_print_sdl_log); #endif