From 6860bb7349e2387c2d5fed2c8c5fbc0671176aa9 Mon Sep 17 00:00:00 2001 From: squidbus <175574877+squidbus@users.noreply.github.com> Date: Fri, 21 Feb 2025 02:55:35 -0800 Subject: [PATCH] fix: mask_jump32 target --- src/common/memory_patcher.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/common/memory_patcher.cpp b/src/common/memory_patcher.cpp index 0a74a45a5..2a8b26acb 100644 --- a/src/common/memory_patcher.cpp +++ b/src/common/memory_patcher.cpp @@ -148,7 +148,6 @@ void OnGameLoaded() { std::string targetStr = ""; std::string sizeStr = ""; if (type == "mask_jump32") { - std::string patchValue = patchLineIt->attribute("Value").value(); targetStr = patchLineIt->attribute("Target").value(); sizeStr = patchLineIt->attribute("Size").value(); } else { @@ -301,8 +300,7 @@ void OnGameLoaded() { QString targetStr; QString sizeStr; if (type == "mask_jump32") { - QString valueAttributeStr = lineObject["Value"].toString(); - targetStr = lineObject["Value"].toString(); + targetStr = lineObject["Target"].toString(); sizeStr = lineObject["Size"].toString(); } else { patchValue = QString::fromStdString(convertValueToHex(