diff options
Diffstat (limited to 'backends/platform/sdl/macosx')
-rw-r--r-- | backends/platform/sdl/macosx/macosx.cpp | 8 | ||||
-rw-r--r-- | backends/platform/sdl/macosx/macosx.h | 4 |
2 files changed, 3 insertions, 9 deletions
diff --git a/backends/platform/sdl/macosx/macosx.cpp b/backends/platform/sdl/macosx/macosx.cpp index d6faf40294..458db07c31 100644 --- a/backends/platform/sdl/macosx/macosx.cpp +++ b/backends/platform/sdl/macosx/macosx.cpp @@ -33,7 +33,9 @@ #include "CoreFoundation/CoreFoundation.h" -OSystem_MacOSX::OSystem_MacOSX() { +OSystem_MacOSX::OSystem_MacOSX() + : + OSystem_POSIX("Library/Preferences/ScummVM Preferences") { } void OSystem_MacOSX::initBackend() { @@ -49,10 +51,6 @@ void OSystem_MacOSX::initBackend() { OSystem_POSIX::initBackend(); } -const char *OSystem_MacOSX::getConfigFileNameString() { - return "Library/Preferences/ScummVM Preferences"; -} - void OSystem_MacOSX::addSysArchivesToSearchSet(Common::SearchSet &s, int priority) { // Invoke parent implementation of this method OSystem_POSIX::addSysArchivesToSearchSet(s, priority); diff --git a/backends/platform/sdl/macosx/macosx.h b/backends/platform/sdl/macosx/macosx.h index cf50307ca8..e3a819f592 100644 --- a/backends/platform/sdl/macosx/macosx.h +++ b/backends/platform/sdl/macosx/macosx.h @@ -34,11 +34,7 @@ public: ~OSystem_MacOSX() {} void initBackend(); - void addSysArchivesToSearchSet(Common::SearchSet &s, int priority = 0); - -protected: - const char *getConfigFileNameString(); }; #endif |