summaryrefslogtreecommitdiff
path: root/Source/Core
diff options
context:
space:
mode:
authorScott Mansell <phiren@gmail.com>2015-12-24 18:25:22 +1300
committerScott Mansell <phiren@gmail.com>2015-12-24 18:25:22 +1300
commit0216879d3eeca4b4aeeaf1f54f97e271f33115c9 (patch)
treeb7aff9183366bd7e56fbd1de19ff1b4a7edeb668 /Source/Core
parentcfd300586a64def09e6bc2e70c354d4e1646bf42 (diff)
Revert "Config Hotfix: Prevent per-game settings (ie. GameINI) being stored to the global user configuration."
Diffstat (limited to 'Source/Core')
-rw-r--r--Source/Core/Core/ConfigManager.cpp9
-rw-r--r--Source/Core/VideoCommon/VideoConfig.cpp7
2 files changed, 1 insertions, 15 deletions
diff --git a/Source/Core/Core/ConfigManager.cpp b/Source/Core/Core/ConfigManager.cpp
index d70daf08c9..db933bceaf 100644
--- a/Source/Core/Core/ConfigManager.cpp
+++ b/Source/Core/Core/ConfigManager.cpp
@@ -12,7 +12,7 @@
#include "Common/StringUtil.h"
#include "Core/ConfigManager.h"
-#include "Core/Core.h"
+#include "Core/Core.h" // for bWii
#include "Core/Boot/Boot.h"
#include "Core/Boot/Boot_DOL.h"
#include "Core/FifoPlayer/FifoDataFile.h"
@@ -82,13 +82,6 @@ SConfig::~SConfig()
void SConfig::SaveSettings()
{
- // TODO: This is a hotfix to prevent writing of temporary per-game settings
- // (GameINI, Movie, Netplay, ...) to the global Dolphin configuration file.
- // The Config logic should be rewritten instead so that per-game settings
- // aren't stored in the same configuration as the actual user settings.
- if (Core::IsRunning())
- return;
-
NOTICE_LOG(BOOT, "Saving settings to %s", File::GetUserPath(F_DOLPHINCONFIG_IDX).c_str());
IniFile ini;
ini.Load(File::GetUserPath(F_DOLPHINCONFIG_IDX)); // load first to not kill unknown stuff
diff --git a/Source/Core/VideoCommon/VideoConfig.cpp b/Source/Core/VideoCommon/VideoConfig.cpp
index 2db0cc7633..3f0b40d012 100644
--- a/Source/Core/VideoCommon/VideoConfig.cpp
+++ b/Source/Core/VideoCommon/VideoConfig.cpp
@@ -271,13 +271,6 @@ void VideoConfig::VerifyValidity()
void VideoConfig::Save(const std::string& ini_file)
{
- // TODO: This is a hotfix to prevent writing of temporary per-game settings
- // (GameINI, Movie, Netplay, ...) to the global Dolphin configuration file.
- // The Config logic should be rewritten instead so that per-game settings
- // aren't stored in the same configuration as the actual user settings.
- if (Core::IsRunning())
- return;
-
IniFile iniFile;
iniFile.Load(ini_file);