Keep filehandles open properly when loading state.

This commit is contained in:
Unknown W. Brackets committed 2013-02-08 08:16:54 -08:00
1 parent 7806f9835a
commit 3ad565b4df
2 files changed
+3 -1

No files matched your search

+2 -1
View File
@@ -77,9 +77,10 @@ namespace SaveState
Memory::DoState(p);
MemoryStick_DoState(p);
currentMIPS->DoState(p);
pspFileSystem.DoState(p);
HLEDoState(p);
__KernelDoState(p);
// Kernel object destructors might close open files, so do the filesystem last.
pspFileSystem.DoState(p);
}
void Enqueue(SaveState::Operation op)