[Scummvm-devel] SF.net SVN: scummvm:[42429] scummvm/trunk/common/util.cpp

Willem Jan Palenstijn wjp at usecode.org
Mon Jul 13 00:41:37 CEST 2009


On Sun, 2009-07-12 at 22:00 +0000, sunmax at users.sourceforge.net wrote:
> Revision: 42429
>           http://scummvm.svn.sourceforge.net/scummvm/?rev=42429&view=rev
> Author:   sunmax
> Date:     2009-07-12 22:00:47 +0000 (Sun, 12 Jul 2009)
> 
> Log Message:
> -----------
> On PS2 use "fprintf" (as in 0.13.x ) to print error messages to stderr,
> rather than "fputs", which is buggy in the PS2 implementation.

Wouldn't it be better to change ps2_fputs in
backends/platform/ps2/fileio.cpp to use ps2_fprintf internally ?
Or alternatively to use the same stderr/stdout detection in ps2_fputs
that is being used in ps2_fprintf?

That way we won't accidentally run into this problem again in the
future.

-Willem Jan






More information about the Scummvm-devel mailing list