From 8fe3294818bee157303d184b073c709bd63d40ea Mon Sep 17 00:00:00 2001 From: tpu Date: Sat, 16 Mar 2013 12:30:03 +0800 Subject: [PATCH] change return method --- Core/HLE/sceIo.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Core/HLE/sceIo.cpp b/Core/HLE/sceIo.cpp index 2bb1ea52b7..1cf41a564c 100644 --- a/Core/HLE/sceIo.cpp +++ b/Core/HLE/sceIo.cpp @@ -1357,15 +1357,15 @@ int __IoIoctl(u32 id, u32 cmd, u32 indataPtr, u32 inlen, u32 outdataPtr, u32 out pspFileSystem.SeekFile(f->handle, (s32)0, FILEMOVE_BEGIN); if(memcmp(pgd_header, pgd_magic, 4)==0){ // File is PGD file, but key mismatch - f->asyncResult = 0x80510204; + return 0x80510204; }else{ // File is decrypted. - f->asyncResult = 0; + return 0; } }else{ // Everthing OK. f->npdrm = true; - f->asyncResult = 0; + return 0; } } break;