WIN32: Move Windows-specific implementation of logMessage out of OSystem_SDL
This commit is contained in:
parent
e1c83f8e87
commit
ada05fd726
5 changed files with 30 additions and 27 deletions
|
@ -150,6 +150,14 @@ bool OSystem_Win32::openUrl(const Common::String &url) {
|
|||
return true;
|
||||
}
|
||||
|
||||
void OSystem_Win32::logMessage(LogMessageType::Type type, const char *message) {
|
||||
OSystem_SDL::logMessage(type, message);
|
||||
|
||||
#if defined( USE_WINDBG )
|
||||
OutputDebugString(message);
|
||||
#endif
|
||||
}
|
||||
|
||||
Common::String OSystem_Win32::getSystemLanguage() const {
|
||||
#if defined(USE_DETECTLANG) && defined(USE_TRANSLATION)
|
||||
// We can not use "setlocale" (at least not for MSVC builds), since it
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue