Skip to content

Commit

Permalink
Set Log level to ERROR when invalid PGD file found
Browse files Browse the repository at this point in the history
  • Loading branch information
raven02 committed Mar 13, 2013
1 parent c07f55e commit a974c65
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Core/HLE/sceIo.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1349,7 +1349,7 @@ int __IoIoctl(u32 id, u32 cmd, u32 indataPtr, u32 inlen, u32 outdataPtr, u32 out
pspFileSystem.ReadFile(f->handle, pgd_header, 0x90);
f->pgdInfo = pgd_open(pgd_header, 2, keybuf);
if(f->pgdInfo==NULL){
DEBUG_LOG(HLE, "Not a valid PGD file. Open as normal file.");
ERROR_LOG(HLE, "Not a valid PGD file. Open as normal file.");
f->npdrm = false;
pspFileSystem.SeekFile(f->handle, (s32)0, FILEMOVE_BEGIN);
}
Expand Down

0 comments on commit a974c65

Please sign in to comment.