[Scummvm-devel] eof & err
sunmax at libero.it
sunmax at libero.it
Sun Jul 12 22:17:24 CEST 2009
Hi Johannes,
> When I'm not totally wrong "readPastEndOfFile" is not eof though. It
> seems only to be set when not all data could be read in "std_fread".
I see!
I very likely misunderstood that, once in a while I copy, ehm,
take inspiration (!) from the DS backend which is our other
brother with limited resources and its own FS implementation ;-)
I will just return "false" for now in ps2_ferror.
If I have some more free time before 1.0.0 hit the net,
I will try to refine the implementation and add a _ferr
case which we trigger when we fail to read all bytes.
Thanks!!!
-max
More information about the Scummvm-devel
mailing list