mirror of
https://github.com/izzy2lost/ppsspp.git
synced 2026-03-10 12:43:04 -07:00
Add better savestate error handling.
Aborts when it can't load.
This commit is contained in:
@@ -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