COMMON: Remove default implementation of OSystem::logMessage
This commit is contained in:
parent
3599d07087
commit
f7c1e7d002
2 changed files with 1 additions and 20 deletions
|
@ -21,11 +21,6 @@
|
|||
*/
|
||||
|
||||
#define FORBIDDEN_SYMBOL_EXCEPTION_exit
|
||||
#define FORBIDDEN_SYMBOL_EXCEPTION_FILE
|
||||
#define FORBIDDEN_SYMBOL_EXCEPTION_fputs
|
||||
#define FORBIDDEN_SYMBOL_EXCEPTION_fflush
|
||||
#define FORBIDDEN_SYMBOL_EXCEPTION_stdout
|
||||
#define FORBIDDEN_SYMBOL_EXCEPTION_stderr
|
||||
|
||||
#include "common/system.h"
|
||||
#include "common/events.h"
|
||||
|
@ -136,20 +131,6 @@ Common::String OSystem::getDefaultConfigFileName() {
|
|||
return "scummvm.ini";
|
||||
}
|
||||
|
||||
void OSystem::logMessage(LogMessageType::Type type, const char *message) {
|
||||
#if !defined(__PLAYSTATION2__) && !defined(__DS__)
|
||||
FILE *output = 0;
|
||||
|
||||
if (type == LogMessageType::kInfo || type == LogMessageType::kDebug)
|
||||
output = stdout;
|
||||
else
|
||||
output = stderr;
|
||||
|
||||
fputs(message, output);
|
||||
fflush(output);
|
||||
#endif
|
||||
}
|
||||
|
||||
Common::String OSystem::getSystemLanguage() const {
|
||||
return "en_US";
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue