aboutsummaryrefslogtreecommitdiff
path: root/backends/platform/ds/arm9/source/osystem_ds.cpp
diff options
context:
space:
mode:
authorMax Horn2011-06-06 10:55:28 +0200
committerMax Horn2011-06-06 15:36:28 +0200
commitb0b5a1d80298452b5eb431e3481850e850f79f52 (patch)
tree968d3375905f0f63076c2345afff370b00a0293d /backends/platform/ds/arm9/source/osystem_ds.cpp
parent4878b2b27b8d56a660d9ec29c1557c8a0375c9f6 (diff)
downloadscummvm-rg350-b0b5a1d80298452b5eb431e3481850e850f79f52.tar.gz
scummvm-rg350-b0b5a1d80298452b5eb431e3481850e850f79f52.tar.bz2
scummvm-rg350-b0b5a1d80298452b5eb431e3481850e850f79f52.zip
DS: Add custom logMessage() implementation
Diffstat (limited to 'backends/platform/ds/arm9/source/osystem_ds.cpp')
-rw-r--r--backends/platform/ds/arm9/source/osystem_ds.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/backends/platform/ds/arm9/source/osystem_ds.cpp b/backends/platform/ds/arm9/source/osystem_ds.cpp
index 90af02f43b..eab9fd6a33 100644
--- a/backends/platform/ds/arm9/source/osystem_ds.cpp
+++ b/backends/platform/ds/arm9/source/osystem_ds.cpp
@@ -857,6 +857,13 @@ Common::String OSystem_DS::getDefaultConfigFileName() {
return DEFAULT_CONFIG_FILE;
}
+void OSystem_DS::logMessage(LogMessageType::Type type, const char *message) {
+#ifndef DISABLE_TEXT_CONSOLE
+ nocashMessage((char *)message);
+// consolePrintf((char *)message);
+#endif
+}
+
u16 OSystem_DS::applyGamma(u16 color) {
// Attempt to do gamma correction (or something like it) to palette entries
// to improve the contrast of the image on the original DS screen.