diff options
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; }; |