Fixed an issue where specifying the module name would not be used

This commit is contained in:
2026-02-22 11:24:51 +01:00
parent 989ee470df
commit efcbe87c28

View File

@@ -145,6 +145,8 @@ uint8_t* Memory::AOBScan(
if (_log) _log->warn("Skipping AOB scan because module '{}' is unavailable.", module_name);
return nullptr;
}
modInfo = modinfo;
found = true;
}
// Fallback to determine module loaded
if (!found || module_name.empty() || module_name == "*") {