diff --git a/CMakeLists.txt b/CMakeLists.txt index b5eea9a..e1a57ee 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -13,7 +13,7 @@ include(GNUInstallDirs) # info project( BG3AchievementEnabler - VERSION 1.0.0 + VERSION 1.1.0 LANGUAGES CXX ) diff --git a/src/main.cpp b/src/main.cpp index 90846a2..17fa025 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -17,8 +17,7 @@ namespace "48 81 C1 D0 00 00 00 " "E8 ?? ?? ?? ?? " "48 8B C8 " - "E8 ?? ?? ?? ?? " - "84 C0">(); + "E8 ?? ?? ?? ??">(); auto* patch = dku::Hook::adjust_pointer(entry, 0x24); if (entry && TestAlByte.match(AsAddress(patch))) { @@ -44,8 +43,7 @@ namespace "48 81 C1 D0 00 00 00 " "E8 ?? ?? ?? ?? " "48 8B C8 " - "E8 ?? ?? ?? ?? " - "84 C0">(); + "E8 ?? ?? ?? ??">(); auto patch = AsAddress(dku::Hook::adjust_pointer(entry, 0x41)); if (entry && TestAlByte.match(patch)) {