MORPHOS: logMessage override
Use printf if DEBUG_BUILD only. This removes a lot of console messages.
This commit is contained in:
parent
edd4fad03c
commit
c883e37e9b
2 changed files with 7 additions and 0 deletions
|
@ -19,6 +19,7 @@
|
|||
*
|
||||
*/
|
||||
|
||||
#define FORBIDDEN_SYMBOL_EXCEPTION_printf
|
||||
#include "common/scummsys.h"
|
||||
|
||||
#ifdef __MORPHOS__
|
||||
|
@ -51,4 +52,9 @@ bool OSystem_MorphOS::hasFeature(Feature f) {
|
|||
return OSystem_SDL::hasFeature(f);
|
||||
}
|
||||
|
||||
void OSystem_MorphOS::logMessage(LogMessageType::Type type, const char * message) {
|
||||
#ifdef DEBUG_BUILD
|
||||
printf("%s\n", message);
|
||||
#endif
|
||||
}
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue