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/psp2 | |
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/psp2')
-rw-r--r-- | backends/platform/sdl/psp2/psp2.cpp | 6 | ||||
-rw-r--r-- | backends/platform/sdl/psp2/psp2.h | 8 |
2 files changed, 1 insertions, 13 deletions
diff --git a/backends/platform/sdl/psp2/psp2.cpp b/backends/platform/sdl/psp2/psp2.cpp index bb26694dfd..f87d8f809f 100644 --- a/backends/platform/sdl/psp2/psp2.cpp +++ b/backends/platform/sdl/psp2/psp2.cpp @@ -49,10 +49,6 @@ int access(const char *pathname, int mode) { return 0; } -OSystem_PSP2::OSystem_PSP2(Common::String baseConfigName) - : _baseConfigName(baseConfigName) { -} - void OSystem_PSP2::init() { #if __PSP2_DEBUG__ @@ -172,7 +168,7 @@ void OSystem_PSP2::logMessage(LogMessageType::Type type, const char *message) { } Common::String OSystem_PSP2::getDefaultConfigFileName() { - return "ux0:data/scummvm/" + _baseConfigName; + return "ux0:data/scummvm/scummvm.ini"; } Common::String OSystem_PSP2::getDefaultLogFileName() { diff --git a/backends/platform/sdl/psp2/psp2.h b/backends/platform/sdl/psp2/psp2.h index a90272ba62..0b3be25950 100644 --- a/backends/platform/sdl/psp2/psp2.h +++ b/backends/platform/sdl/psp2/psp2.h @@ -30,10 +30,6 @@ class OSystem_PSP2 : public OSystem_SDL { public: - // Let the subclasses be able to change _baseConfigName in the constructor - OSystem_PSP2(Common::String baseConfigName = "scummvm.ini"); - virtual ~OSystem_PSP2() {} - virtual void init() override; virtual void initBackend() override; virtual bool hasFeature(Feature f) override; @@ -42,10 +38,6 @@ public: virtual void logMessage(LogMessageType::Type type, const char *message) override; protected: - // Base string for creating the default path and filename - // for the configuration file - Common::String _baseConfigName; - virtual Common::String getDefaultConfigFileName() override; virtual Common::String getDefaultLogFileName() override; }; |