diff options
Diffstat (limited to 'backends/platform/ds/arm9/source')
| -rw-r--r-- | backends/platform/ds/arm9/source/osystem_ds.cpp | 7 | ||||
| -rw-r--r-- | backends/platform/ds/arm9/source/osystem_ds.h | 4 | 
2 files changed, 10 insertions, 1 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. diff --git a/backends/platform/ds/arm9/source/osystem_ds.h b/backends/platform/ds/arm9/source/osystem_ds.h index d3e7fce1a1..1e032ba2cf 100644 --- a/backends/platform/ds/arm9/source/osystem_ds.h +++ b/backends/platform/ds/arm9/source/osystem_ds.h @@ -172,12 +172,14 @@ public:  	virtual void setCursorPalette(const byte *colors, uint start, uint num); -	FilesystemFactory *getFilesystemFactory(); +	virtual FilesystemFactory *getFilesystemFactory();  	void refreshCursor();  	virtual Common::String getDefaultConfigFileName(); +	virtual void logMessage(LogMessageType::Type type, const char *message); +  	u16 applyGamma(u16 color);  	void setGammaValue(int gamma) { _gammaValue = gamma; }  | 
