aboutsummaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
authorRobert Göffringmann2006-06-08 06:53:00 +0000
committerRobert Göffringmann2006-06-08 06:53:00 +0000
commit7e65543482be37f16f22131a508e79de92be07ae (patch)
tree663c41fd2f274d9869182b435a098110d711f9d5 /common
parent955a7aed38b5bb570d38f5bc40ed8b306155a1a9 (diff)
downloadscummvm-rg350-7e65543482be37f16f22131a508e79de92be07ae.tar.gz
scummvm-rg350-7e65543482be37f16f22131a508e79de92be07ae.tar.bz2
scummvm-rg350-7e65543482be37f16f22131a508e79de92be07ae.zip
cleanup, made osystem for .ini on different devices.
svn-id: r22984
Diffstat (limited to 'common')
-rw-r--r--common/config-manager.cpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/common/config-manager.cpp b/common/config-manager.cpp
index 2b620f53e5..82c805b663 100644
--- a/common/config-manager.cpp
+++ b/common/config-manager.cpp
@@ -29,6 +29,10 @@
DECLARE_SINGLETON(Common::ConfigManager);
+#ifdef __PLAYSTATION2__
+#include "backends/ps2/systemps2.h"
+#endif
+
#if defined(UNIX)
#ifdef MACOSX
#define DEFAULT_CONFIG_FILE "Library/Preferences/ScummVM Preferences"
@@ -98,7 +102,7 @@ void ConfigManager::loadDefaultConfigFile() {
#elif defined(PALMOS_MODE)
strcpy(configFile,"/PALM/Programs/ScummVM/" DEFAULT_CONFIG_FILE);
#elif defined(__PLAYSTATION2__)
- strcpy(configFile, "mc0:ScummVM/" DEFAULT_CONFIG_FILE);
+ ((OSystem_PS2*)g_system)->makeConfigPath(configFile);
#elif defined(__PSP__)
strcpy(configFile, "ms0:/" DEFAULT_CONFIG_FILE);
#elif defined (__SYMBIAN32__)