summaryrefslogtreecommitdiff
path: root/Source
diff options
context:
space:
mode:
authorPierre Bourdon <delroth@lse.epita.fr>2013-09-13 20:26:48 +0200
committerPierre Bourdon <delroth@gmail.com>2013-09-14 17:46:41 +0200
commit4ef5624f1fd46f3d4dd59b98f9c6c485f0dfd566 (patch)
tree4f13b29a4900fd186b137db7a7eb26f49b427bc2 /Source
parent501eafb4075e4b335807824753385835f1954bac (diff)
Change the name of INI options for memcard paths and NAND path to make migrating User directory from non-global to global easier
Diffstat (limited to 'Source')
-rw-r--r--Source/Core/Core/Src/ConfigManager.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/Source/Core/Core/Src/ConfigManager.cpp b/Source/Core/Core/Src/ConfigManager.cpp
index a84b235b04..a4298949f0 100644
--- a/Source/Core/Core/Src/ConfigManager.cpp
+++ b/Source/Core/Core/Src/ConfigManager.cpp
@@ -167,7 +167,7 @@ void SConfig::SaveSettings()
}
ini.Set("General", "RecursiveGCMPaths", m_RecursiveISOFolder);
- ini.Set("General", "NANDRoot", m_NANDPath);
+ ini.Set("General", "NANDRootPath", m_NANDPath);
ini.Set("General", "WirelessMac", m_WirelessMac);
#ifdef USE_GDBSTUB
ini.Set("General", "GDBPort", m_LocalCoreStartupParameter.iGDBPort);
@@ -244,8 +244,8 @@ void SConfig::SaveSettings()
ini.Set("Core", "SelectedLanguage", m_LocalCoreStartupParameter.SelectedLanguage);
ini.Set("Core", "DPL2Decoder", m_LocalCoreStartupParameter.bDPL2Decoder);
ini.Set("Core", "Latency", m_LocalCoreStartupParameter.iLatency);
- ini.Set("Core", "MemcardA", m_strMemoryCardA);
- ini.Set("Core", "MemcardB", m_strMemoryCardB);
+ ini.Set("Core", "MemcardAPath", m_strMemoryCardA);
+ ini.Set("Core", "MemcardBPath", m_strMemoryCardB);
ini.Set("Core", "SlotA", m_EXIDevice[0]);
ini.Set("Core", "SlotB", m_EXIDevice[1]);
ini.Set("Core", "SerialPort1", m_EXIDevice[2]);
@@ -318,7 +318,7 @@ void SConfig::LoadSettings()
ini.Get("General", "RecursiveGCMPaths", &m_RecursiveISOFolder, false);
- ini.Get("General", "NANDRoot", &m_NANDPath);
+ ini.Get("General", "NANDRootPath", &m_NANDPath);
m_NANDPath = File::GetUserPath(D_WIIROOT_IDX, m_NANDPath);
DiscIO::cUIDsys::AccessInstance().UpdateLocation();
DiscIO::CSharedContent::AccessInstance().UpdateLocation();
@@ -403,8 +403,8 @@ void SConfig::LoadSettings()
ini.Get("Core", "SelectedLanguage", &m_LocalCoreStartupParameter.SelectedLanguage, 0);
ini.Get("Core", "DPL2Decoder", &m_LocalCoreStartupParameter.bDPL2Decoder, false);
ini.Get("Core", "Latency", &m_LocalCoreStartupParameter.iLatency, 2);
- ini.Get("Core", "MemcardA", &m_strMemoryCardA);
- ini.Get("Core", "MemcardB", &m_strMemoryCardB);
+ ini.Get("Core", "MemcardAPath", &m_strMemoryCardA);
+ ini.Get("Core", "MemcardBPath", &m_strMemoryCardB);
ini.Get("Core", "SlotA", (int*)&m_EXIDevice[0], EXIDEVICE_MEMORYCARD);
ini.Get("Core", "SlotB", (int*)&m_EXIDevice[1], EXIDEVICE_NONE);
ini.Get("Core", "SerialPort1", (int*)&m_EXIDevice[2], EXIDEVICE_NONE);