mirror of
https://github.com/izzy2lost/ppsspp.git
synced 2026-03-10 12:43:04 -07:00
Merge pull request #7661 from lioncash/false
sceIo: Remove always false condition
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user