diff options
author | Alejandro Marzini | 2010-06-26 03:44:47 +0000 |
---|---|---|
committer | Alejandro Marzini | 2010-06-26 03:44:47 +0000 |
commit | 70e9a5b951e9086eb08aed8ce95b22eab0354637 (patch) | |
tree | c42fc424faad6b939879105bad306b29b55994f4 /backends/platform/sdl/sdl.cpp | |
parent | d04a2a266dff688cc88931b4e11432ae8f4a7130 (diff) | |
download | scummvm-rg350-70e9a5b951e9086eb08aed8ce95b22eab0354637.tar.gz scummvm-rg350-70e9a5b951e9086eb08aed8ce95b22eab0354637.tar.bz2 scummvm-rg350-70e9a5b951e9086eb08aed8ce95b22eab0354637.zip |
Removed DEFAULT_CONFIG_FILE define in favor of new getConfigFileNameString function.
svn-id: r50301
Diffstat (limited to 'backends/platform/sdl/sdl.cpp')
-rw-r--r-- | backends/platform/sdl/sdl.cpp | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/backends/platform/sdl/sdl.cpp b/backends/platform/sdl/sdl.cpp index 85506c9520..832f6ffb78 100644 --- a/backends/platform/sdl/sdl.cpp +++ b/backends/platform/sdl/sdl.cpp @@ -38,8 +38,6 @@ #include "icons/scummvm.xpm" -#define DEFAULT_CONFIG_FILE "scummvm.ini" - #include <time.h> OSystem_SDL::OSystem_SDL() @@ -129,9 +127,13 @@ void OSystem_SDL::addSysArchivesToSearchSet(Common::SearchSet &s, int priority) } +const char *OSystem_SDL::getConfigFileNameString() { + return "scummvm.ini"; +} + Common::String OSystem_SDL::getDefaultConfigFileName() { char configFile[MAXPATHLEN]; - strcpy(configFile, DEFAULT_CONFIG_FILE); + strcpy(configFile, getConfigFileNameString()); return configFile; } |