sceIo: Remove always false condition

This commit is contained in:
Lioncash 2015-04-06 10:05:44 -04:00
parent a7ed59e11b
commit 1ac81b5014

View file

@ -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);