From 98e057603cff921a06b21024735bf8895fb6a29e Mon Sep 17 00:00:00 2001 From: Marcus Comstedt Date: Sat, 8 Jan 2011 20:33:07 +0000 Subject: DC: Implement logMessage() svn-id: r55171 --- backends/platform/dc/dc.h | 1 + backends/platform/dc/dcmain.cpp | 6 ++++++ 2 files changed, 7 insertions(+) (limited to 'backends') 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) { -- cgit v1.2.3