mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-12-02 10:43:44 +01:00
change return method
This commit is contained in:
1 parent
9790e1e904
commit
8fe3294818
1 file changed
+3
-3
+3
-3
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user