memory_patcher: Fix isEnabled not being reset between patches. (#3458)

This commit is contained in:
squidbus
2025-08-25 03:17:08 -07:00
committed by GitHub
parent c90781d3e2
commit 875724a982

View File

@@ -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");