mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-23 06:09:50 -06:00
Emulated Wiimote IR Pointer Ini File: Name change from Emulated to Default
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2441 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
@ -196,7 +196,7 @@ void Config::Load(bool ChangePad)
|
|||||||
// <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
// <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||||
iniFile.Load(FULL_CONFIG_DIR "IR Pointer.ini");
|
iniFile.Load(FULL_CONFIG_DIR "IR Pointer.ini");
|
||||||
std::string TmpSection;
|
std::string TmpSection;
|
||||||
if (g_ISOId) TmpSection = Hex2Ascii(g_ISOId); else TmpSection = "Emulated";
|
if (g_ISOId) TmpSection = Hex2Ascii(g_ISOId); else TmpSection = "Default";
|
||||||
iniFile.Get(TmpSection.c_str(), "IRLeft", &iIRLeft, LEFT);
|
iniFile.Get(TmpSection.c_str(), "IRLeft", &iIRLeft, LEFT);
|
||||||
iniFile.Get(TmpSection.c_str(), "IRTop", &iIRTop, TOP);
|
iniFile.Get(TmpSection.c_str(), "IRTop", &iIRTop, TOP);
|
||||||
iniFile.Get(TmpSection.c_str(), "IRWidth", &iIRWidth, RIGHT - LEFT);
|
iniFile.Get(TmpSection.c_str(), "IRWidth", &iIRWidth, RIGHT - LEFT);
|
||||||
@ -343,7 +343,7 @@ void Config::Save(int Slot)
|
|||||||
// <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
// <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||||
iniFile.Load(FULL_CONFIG_DIR "IR Pointer.ini");
|
iniFile.Load(FULL_CONFIG_DIR "IR Pointer.ini");
|
||||||
std::string TmpSection;
|
std::string TmpSection;
|
||||||
if (g_ISOId) TmpSection = Hex2Ascii(g_ISOId); else TmpSection = "Emulated";
|
if (g_ISOId) TmpSection = Hex2Ascii(g_ISOId); else TmpSection = "Default";
|
||||||
iniFile.Set(TmpSection.c_str(), "IRLeft", iIRLeft);
|
iniFile.Set(TmpSection.c_str(), "IRLeft", iIRLeft);
|
||||||
iniFile.Set(TmpSection.c_str(), "IRTop", iIRTop);
|
iniFile.Set(TmpSection.c_str(), "IRTop", iIRTop);
|
||||||
iniFile.Set(TmpSection.c_str(), "IRWidth", iIRWidth);
|
iniFile.Set(TmpSection.c_str(), "IRWidth", iIRWidth);
|
||||||
|
Reference in New Issue
Block a user