aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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)
{