diff options
author | Cameron Cawley | 2019-12-07 14:08:33 +0000 |
---|---|---|
committer | Filippos Karapetis | 2019-12-07 21:15:41 +0200 |
commit | aa083256ec05ee43d9f1977ca2178cacdfb25ae3 (patch) | |
tree | eaaf0b2788921203c0d0487bcedf4ceb2d5e54ed /backends/platform/sdl/ps3 | |
parent | c90164f526b506a59092b48bcf78838777b68544 (diff) | |
download | scummvm-rg350-aa083256ec05ee43d9f1977ca2178cacdfb25ae3.tar.gz scummvm-rg350-aa083256ec05ee43d9f1977ca2178cacdfb25ae3.tar.bz2 scummvm-rg350-aa083256ec05ee43d9f1977ca2178cacdfb25ae3.zip |
SDL: Simplify implementations of getDefaultConfigFileName()
Diffstat (limited to 'backends/platform/sdl/ps3')
-rw-r--r-- | backends/platform/sdl/ps3/ps3.cpp | 6 | ||||
-rw-r--r-- | backends/platform/sdl/ps3/ps3.h | 8 |
2 files changed, 1 insertions, 13 deletions
diff --git a/backends/platform/sdl/ps3/ps3.cpp b/backends/platform/sdl/ps3/ps3.cpp index 78b02d7e2e..9f77c035a2 100644 --- a/backends/platform/sdl/ps3/ps3.cpp +++ b/backends/platform/sdl/ps3/ps3.cpp @@ -45,10 +45,6 @@ int access(const char *pathname, int mode) { return 0; } -OSystem_PS3::OSystem_PS3(Common::String baseConfigName) - : _baseConfigName(baseConfigName) { -} - void OSystem_PS3::init() { // Initialze File System Factory _fsFactory = new PS3FilesystemFactory(); @@ -75,7 +71,7 @@ void OSystem_PS3::initBackend() { } Common::String OSystem_PS3::getDefaultConfigFileName() { - return PREFIX "/" + _baseConfigName; + return PREFIX "/scummvm.ini"; } Common::String OSystem_PS3::getDefaultLogFileName() { diff --git a/backends/platform/sdl/ps3/ps3.h b/backends/platform/sdl/ps3/ps3.h index a0c0d80b0e..766cf5f2f2 100644 --- a/backends/platform/sdl/ps3/ps3.h +++ b/backends/platform/sdl/ps3/ps3.h @@ -27,18 +27,10 @@ class OSystem_PS3 : public OSystem_SDL { public: - // Let the subclasses be able to change _baseConfigName in the constructor - OSystem_PS3(Common::String baseConfigName = "scummvm.ini"); - virtual ~OSystem_PS3() {} - virtual void init(); virtual void initBackend(); protected: - // Base string for creating the default path and filename - // for the configuration file - Common::String _baseConfigName; - virtual Common::String getDefaultConfigFileName(); virtual Common::String getDefaultLogFileName(); }; |