mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2025-07-23 10:35:03 +00:00
fix: mask_jump32 target
This commit is contained in:
parent
5b3e156197
commit
6860bb7349
@ -148,7 +148,6 @@ void OnGameLoaded() {
|
|||||||
std::string targetStr = "";
|
std::string targetStr = "";
|
||||||
std::string sizeStr = "";
|
std::string sizeStr = "";
|
||||||
if (type == "mask_jump32") {
|
if (type == "mask_jump32") {
|
||||||
std::string patchValue = patchLineIt->attribute("Value").value();
|
|
||||||
targetStr = patchLineIt->attribute("Target").value();
|
targetStr = patchLineIt->attribute("Target").value();
|
||||||
sizeStr = patchLineIt->attribute("Size").value();
|
sizeStr = patchLineIt->attribute("Size").value();
|
||||||
} else {
|
} else {
|
||||||
@ -301,8 +300,7 @@ void OnGameLoaded() {
|
|||||||
QString targetStr;
|
QString targetStr;
|
||||||
QString sizeStr;
|
QString sizeStr;
|
||||||
if (type == "mask_jump32") {
|
if (type == "mask_jump32") {
|
||||||
QString valueAttributeStr = lineObject["Value"].toString();
|
targetStr = lineObject["Target"].toString();
|
||||||
targetStr = lineObject["Value"].toString();
|
|
||||||
sizeStr = lineObject["Size"].toString();
|
sizeStr = lineObject["Size"].toString();
|
||||||
} else {
|
} else {
|
||||||
patchValue = QString::fromStdString(convertValueToHex(
|
patchValue = QString::fromStdString(convertValueToHex(
|
||||||
|
Loading…
Reference in New Issue
Block a user