diff options
| author | Robert Göffringmann | 2006-06-08 06:53:00 +0000 |
|---|---|---|
| committer | Robert Göffringmann | 2006-06-08 06:53:00 +0000 |
| commit | 7e65543482be37f16f22131a508e79de92be07ae (patch) | |
| tree | 663c41fd2f274d9869182b435a098110d711f9d5 /common | |
| parent | 955a7aed38b5bb570d38f5bc40ed8b306155a1a9 (diff) | |
| download | scummvm-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.cpp | 6 |
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__) |
