mirror of
https://github.com/hrydgard/ppsspp.git
synced 2025-04-02 11:01:50 -04:00
sceIo: Remove always false condition
This commit is contained in:
parent
a7ed59e11b
commit
1ac81b5014
1 changed files with 1 additions and 2 deletions
|
@ -1071,9 +1071,8 @@ static u32 npdrmLseek(FileNode *f, s32 where, FileMove whence)
|
|||
newPos = f->pgdInfo->data_size+where;
|
||||
}
|
||||
|
||||
if(newPos<0 || newPos>f->pgdInfo->data_size){
|
||||
if (newPos > f->pgdInfo->data_size)
|
||||
return -EINVAL;
|
||||
}
|
||||
|
||||
f->pgdInfo->file_offset = newPos;
|
||||
blockPos = newPos&~(f->pgdInfo->block_size-1);
|
||||
|
|
Loading…
Add table
Reference in a new issue