diff options
| author | Marcus Comstedt | 2011-01-08 20:33:07 +0000 | 
|---|---|---|
| committer | Marcus Comstedt | 2011-01-08 20:33:07 +0000 | 
| commit | 98e057603cff921a06b21024735bf8895fb6a29e (patch) | |
| tree | d9006ebc955efb18edd1267ea1172de12f056b09 | |
| parent | d202e4c9dcd3df04c2992b450c5c620637351f3b (diff) | |
| download | scummvm-rg350-98e057603cff921a06b21024735bf8895fb6a29e.tar.gz scummvm-rg350-98e057603cff921a06b21024735bf8895fb6a29e.tar.bz2 scummvm-rg350-98e057603cff921a06b21024735bf8895fb6a29e.zip | |
DC: Implement logMessage()
svn-id: r55171
| -rw-r--r-- | backends/platform/dc/dc.h | 1 | ||||
| -rw-r--r-- | backends/platform/dc/dcmain.cpp | 6 | 
2 files changed, 7 insertions, 0 deletions
| diff --git a/backends/platform/dc/dc.h b/backends/platform/dc/dc.h index adb1af7ba7..b78e5f13df 100644 --- a/backends/platform/dc/dc.h +++ b/backends/platform/dc/dc.h @@ -243,6 +243,7 @@ class OSystem_Dreamcast : private DCHardware, public BaseBackend, public Filesys    Common::SeekableReadStream *createConfigReadStream();    Common::WriteStream *createConfigWriteStream(); +  void logMessage(LogMessageType::Type type, const char *message);    Common::String getSystemLanguage() const;  }; diff --git a/backends/platform/dc/dcmain.cpp b/backends/platform/dc/dcmain.cpp index 38caee1cfa..92cd000e0a 100644 --- a/backends/platform/dc/dcmain.cpp +++ b/backends/platform/dc/dcmain.cpp @@ -219,6 +219,12 @@ Common::WriteStream *OSystem_Dreamcast::createConfigWriteStream() {    return 0;  } +void OSystem_Dreamcast::logMessage(LogMessageType::Type type, const char *message) { +#ifndef NOSERIAL +  report(message); +#endif +} +  namespace DC_Flash {    static int syscall_info_flash(int sect, int *info)    { | 
