summaryrefslogtreecommitdiffstats
path: root/src/app
diff options
context:
space:
mode:
Diffstat (limited to 'src/app')
-rw-r--r--src/app/app.cpp16
1 files changed, 0 insertions, 16 deletions
diff --git a/src/app/app.cpp b/src/app/app.cpp
index 09fb233..d332931 100644
--- a/src/app/app.cpp
+++ b/src/app/app.cpp
@@ -423,11 +423,6 @@ bool CApplication::Create()
return false;
}
-#if !defined(PLATFORM_MACOSX)
- // On Mac OSX, the bundle can potentially change place, it doesn't make sense to cache it to the configuration file
- GetProfile().SetLocalProfileString("Resources", "Data", m_dataPath);
-#endif
-
SetLanguage(m_language);
//Create the sound instance.
@@ -440,17 +435,6 @@ bool CApplication::Create()
m_sound->Create(true);
-#if !defined(PLATFORM_MACOSX)
- // On Mac OSX, the bundle can potentially change place, it doesn't make sense to cache it to the configuration file
-
- // Cache sound files
- if (defaultValues)
- {
- GetProfile().SetLocalProfileString("Resources", "Sound", GetDataSubdirPath(DIR_SOUND));
- GetProfile().SetLocalProfileString("Resources", "Music", GetDataSubdirPath(DIR_MUSIC));
- }
-#endif
-
if (!m_customDataPath && GetProfile().GetLocalProfileString("Resources", "Sound", path))
{
m_sound->CacheAll(path);