NX/VITA: Don't force-close a file when we hit EoL in fgets()

This commit is contained in:
Steam Deck User 2023-03-17 16:16:41 -04:00
parent 4c936cbe41
commit b4a93ca2be

View file

@ -2950,7 +2950,6 @@ void PF_fgets (void)
}
if (!count) // EndOfFile
{
Sys_FileClose(h);
G_INT(OFS_RETURN) = OFS_NULL; // void string
return;
}