mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-01 14:58:14 +00:00
Add better savestate error handling.
Aborts when it can't load.
This commit is contained in:
1 parent
117ffaeb60
commit
fe97fd6fc5
7 files changed
+37
-8
No files matched your search
@@ -422,6 +422,7 @@ void MetaFileSystem::DoState(PointerWrap &p)
|
||||
p.Do(n);
|
||||
if (n != (u32) fileSystems.size())
|
||||
{
|
||||
p.SetError(p.ERROR_FAILURE);
|
||||
ERROR_LOG(FILESYS, "Savestate failure: number of filesystems doesn't match.");
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user