From 5baaaeec6517681eeeb4b8eae6e5abeef191dcce Mon Sep 17 00:00:00 2001 From: gamerbross Date: Thu, 16 Nov 2023 03:27:27 +0100 Subject: [PATCH] retrocompatibility? --- src/dllmain.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/dllmain.cpp b/src/dllmain.cpp index 60d4649..8253981 100644 --- a/src/dllmain.cpp +++ b/src/dllmain.cpp @@ -49,7 +49,7 @@ void Main(const HMODULE hModule) { static const std::vector jb8Byte = { 0x72 }; static const std::vector jmp8Byte = { 0x71 }; - for (auto str : { L"Error_CannotModifyCookedAssets", L"AssetCantBeEdited" } ) + for (auto str : { L"Error_CannotModifyCookedAssets", L"Unable to Edit Cooked asset" } ) writeMemory(Memcury::Scanner::FindStringRef(str).ScanFor(xorByte).Get(), nopBytes); writeMemory( @@ -86,4 +86,4 @@ BOOL APIENTRY DllMain(const HMODULE hModule, const DWORD dwReason, const LPVOID CloseHandle(mainThread); return TRUE; -} \ No newline at end of file +}