aboutsummaryrefslogtreecommitdiff
path: root/backends/platform/sdl/posix/posix.h
diff options
context:
space:
mode:
Diffstat (limited to 'backends/platform/sdl/posix/posix.h')
-rw-r--r--backends/platform/sdl/posix/posix.h9
1 files changed, 6 insertions, 3 deletions
diff --git a/backends/platform/sdl/posix/posix.h b/backends/platform/sdl/posix/posix.h
index 7e7e388229..13f9304f1e 100644
--- a/backends/platform/sdl/posix/posix.h
+++ b/backends/platform/sdl/posix/posix.h
@@ -30,15 +30,18 @@
class OSystem_POSIX : public OSystem_SDL {
public:
- OSystem_POSIX();
+ // Let the subclasses be able to change _baseConfigName in the constructor
+ OSystem_POSIX(Common::String baseConfigName = ".scummvmrc");
virtual ~OSystem_POSIX() {}
virtual void init();
-
virtual void initBackend();
protected:
- virtual const char *getConfigFileNameString();
+ // Base string for creating the default path and filename
+ // for the configuration file
+ Common::String _baseConfigName;
+
virtual Common::String getDefaultConfigFileName();
};