Warniof the sceIo defAction is used when stating.

This is broken anyway so skipping for now.
This commit is contained in:
Unknown W. Brackets 2012-12-27 23:08:38 -08:00
parent cd1d4367bf
commit 042e515037
3 changed files with 10 additions and 0 deletions

View File

@ -204,6 +204,14 @@ void __IoInit() {
pspFileSystem.Mount("flash1:", flash);
}
void __IoDoState(PointerWrap &p) {
// TODO: defAction is hard to save, and not the right way anyway.
// Should probbly be an enum and on the FileNode anyway.
if (defAction != NULL) {
WARN_LOG(HLE, "FIXME: Savestate failure: deferred IO not saved yet.");
}
}
void __IoShutdown() {
defAction = 0;
defParam = 0;

View File

@ -22,6 +22,7 @@
#include "sceKernel.h"
void __IoInit();
void __IoDoState(PointerWrap &p);
void __IoShutdown();
KernelObject *__KernelFileNodeObject();
KernelObject *__KernelDirListingObject();

View File

@ -163,6 +163,7 @@ void __KernelDoState(PointerWrap &p)
__SslDoState(p);
__UmdDoState(p);
__UsbDoState(p);
__IoDoState(p);
__PPGeDoState(p);