aboutsummaryrefslogtreecommitdiff
path: root/backends/base-backend.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'backends/base-backend.cpp')
-rw-r--r--backends/base-backend.cpp14
1 files changed, 14 insertions, 0 deletions
diff --git a/backends/base-backend.cpp b/backends/base-backend.cpp
index c06695a727..aa08e94c32 100644
--- a/backends/base-backend.cpp
+++ b/backends/base-backend.cpp
@@ -84,3 +84,17 @@ Common::WriteStream *BaseBackend::createConfigWriteStream() {
return file.createWriteStream();
#endif
}
+
+static DefaultAudioCDManager *s_audiocdManager = 0;
+
+AudioCDManager *BaseBackend::getAudioCDManager() {
+ if (!s_audiocdManager)
+ s_audiocdManager = new DefaultAudioCDManager();
+ return (AudioCDManager *)s_audiocdManager;
+}
+
+void BaseBackend::resetGraphicsScale() {
+ // As a hack, we use 0 here. Backends should override this method
+ // and provide their own.
+ setGraphicsMode(0);
+}