aboutsummaryrefslogtreecommitdiff
path: root/backends
diff options
context:
space:
mode:
authorMarcus Comstedt2011-01-08 20:33:07 +0000
committerMarcus Comstedt2011-01-08 20:33:07 +0000
commit98e057603cff921a06b21024735bf8895fb6a29e (patch)
treed9006ebc955efb18edd1267ea1172de12f056b09 /backends
parentd202e4c9dcd3df04c2992b450c5c620637351f3b (diff)
downloadscummvm-rg350-98e057603cff921a06b21024735bf8895fb6a29e.tar.gz
scummvm-rg350-98e057603cff921a06b21024735bf8895fb6a29e.tar.bz2
scummvm-rg350-98e057603cff921a06b21024735bf8895fb6a29e.zip
DC: Implement logMessage()
svn-id: r55171
Diffstat (limited to 'backends')
-rw-r--r--backends/platform/dc/dc.h1
-rw-r--r--backends/platform/dc/dcmain.cpp6
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)
{