Fix _Frprep

Seems like everything works now?
This commit is contained in:
Stephen Miller 2026-02-10 15:34:01 -06:00
parent 5068c60afe
commit 4a55eb712e

View File

@ -313,7 +313,7 @@ s32 PS4_SYSV_ABI internal__Frprep(OrbisFILE* file) {
if (file->_Rend > file->_Next) {
return 1;
}
if ((file->_Mode & 0x100) == 0) {
if ((file->_Mode & 0x100) != 0) {
return 0;
}
u16 mode = file->_Mode;