diff --git a/cpp/LunaHook/LunaHook/enginecontrol.cpp b/cpp/LunaHook/LunaHook/enginecontrol.cpp index 5e2c9994..0578d48a 100644 --- a/cpp/LunaHook/LunaHook/enginecontrol.cpp +++ b/cpp/LunaHook/LunaHook/enginecontrol.cpp @@ -94,9 +94,12 @@ bool checkengine() if (attached) { jittypedefault = m->jittype; - spDefault.isjithook = true; - spDefault.minAddress = 0; - spDefault.maxAddress = -1; + if (jittypedefault != JITTYPE::PC) + { + spDefault.isjithook = true; + spDefault.minAddress = 0; + spDefault.maxAddress = -1; + } } if (m->is_engine_certain) { diff --git a/cpp/version.cmake b/cpp/version.cmake index c122196d..a944a058 100644 --- a/cpp/version.cmake +++ b/cpp/version.cmake @@ -1,7 +1,7 @@ set(VERSION_MAJOR 6) set(VERSION_MINOR 15) -set(VERSION_PATCH 4) +set(VERSION_PATCH 5) set(VERSION_REVISION 0) set(LUNA_VERSION "{${VERSION_MAJOR},${VERSION_MINOR},${VERSION_PATCH},${VERSION_REVISION}}") add_library(VERSION_DEF ${CMAKE_CURRENT_LIST_DIR}/version_def.cpp)