#4 Fix Mac v15.0.16..

Fusionado
doublesine fusionadas 1 achegas de DeltaFoX/mac en doublesine/mac %!s(int64=5) %!d(string=hai) anos
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      navicat-patcher/PatchSolution3.cpp

+ 1 - 1
navicat-patcher/PatchSolution3.cpp

@@ -183,7 +183,7 @@ namespace nkg {
                         0x55,               // push rbp
                         0x55,               // push rbp
                         0x48, 0x89, 0xe5    // mov rbp, rsp
                         0x48, 0x89, 0xe5    // mov rbp, rsp
                     };
                     };
-                    for (int i = -0x90; i + static_cast<int>(sizeof(FunctionHeader)) < 0; ++i) {
+                    for (int i = -0x9A; i + static_cast<int>(sizeof(FunctionHeader)) < 0; ++i) {
                         if (memcmp(ARL::AddressOffset(lpXrefKeyword, i), FunctionHeader, sizeof(FunctionHeader)) == 0) {
                         if (memcmp(ARL::AddressOffset(lpXrefKeyword, i), FunctionHeader, sizeof(FunctionHeader)) == 0) {
                             lpfnGenerateKeyB = ARL::AddressOffset(lpXrefKeyword, i);
                             lpfnGenerateKeyB = ARL::AddressOffset(lpXrefKeyword, i);
                         }
                         }