diff options
author | Max Horn | 2011-06-06 16:47:20 +0200 |
---|---|---|
committer | Max Horn | 2011-06-06 16:47:20 +0200 |
commit | 4f159dba905cc1c623c99b2adf4d9df18c669dac (patch) | |
tree | 67b059362c9dca989e9d8f2d8fa11c41ae12a70d /backends/platform/ps2/systemps2.cpp | |
parent | c81e94b25214d258e0789f51b0ad0236ba1bf9c0 (diff) | |
download | scummvm-rg350-4f159dba905cc1c623c99b2adf4d9df18c669dac.tar.gz scummvm-rg350-4f159dba905cc1c623c99b2adf4d9df18c669dac.tar.bz2 scummvm-rg350-4f159dba905cc1c623c99b2adf4d9df18c669dac.zip |
PS2: Simplify OSystem_PS2::logMessage
Diffstat (limited to 'backends/platform/ps2/systemps2.cpp')
-rw-r--r-- | backends/platform/ps2/systemps2.cpp | 11 |
1 files changed, 2 insertions, 9 deletions
diff --git a/backends/platform/ps2/systemps2.cpp b/backends/platform/ps2/systemps2.cpp index 9336468b35..1085f3d8e5 100644 --- a/backends/platform/ps2/systemps2.cpp +++ b/backends/platform/ps2/systemps2.cpp @@ -984,13 +984,6 @@ Common::String OSystem_PS2::getDefaultConfigFileName() { } void OSystem_PS2::logMessage(LogMessageType::Type type, const char *message) { - FILE *output = 0; - - if (type == LogMessageType::kInfo || type == LogMessageType::kDebug) - output = stdout; - else - output = stderr; - - ps2_fputs(message, output); - ps2_fflush(output); + printf("%s", message); + sioprintf("%s", message); } |