mirror of
https://github.com/hrydgard/ppsspp.git
synced 2025-04-02 11:01:50 -04:00
Merge pull request #8990 from unknownbrackets/reporting
Module: Don't report broken stubs from old states
This commit is contained in:
commit
bcadd60eac
1 changed files with 10 additions and 1 deletions
|
@ -301,8 +301,17 @@ public:
|
|||
}
|
||||
} else {
|
||||
// Older save state. Let's still reload, but this may not pick up new flags, etc.
|
||||
bool foundBroken = false;
|
||||
for (auto func : importedFuncs) {
|
||||
ImportFunc(func, true);
|
||||
if (func.moduleName[KERNELOBJECT_MAX_NAME_LENGTH] != '\0' || !Memory::IsValidAddress(func.stubAddr)) {
|
||||
foundBroken = true;
|
||||
} else {
|
||||
ImportFunc(func, true);
|
||||
}
|
||||
}
|
||||
|
||||
if (foundBroken) {
|
||||
ERROR_LOG(LOADER, "Broken stub import data while loading state");
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue