mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2025-12-09 05:08:43 +00:00
memory_patcher: Fix isEnabled not being reset between patches. (#3458)
This commit is contained in:
@@ -287,6 +287,7 @@ void OnGameLoaded() {
|
||||
QString appVer = xmlReader.attributes().value("AppVer").toString();
|
||||
|
||||
// Check and update the isEnabled attribute
|
||||
isEnabled = false;
|
||||
for (const QXmlStreamAttribute& attr : xmlReader.attributes()) {
|
||||
if (attr.name() == QStringLiteral("isEnabled")) {
|
||||
isEnabled = (attr.value().toString() == "true");
|
||||
|
||||
Reference in New Issue
Block a user