Port Wiimote source settings to the new config system
This lets us finally get rid of BootManager's ConfigCache!
This commit is contained in:
1 parent
5e59561637
commit
aff45c91fc
17 files changed
+134
-172
No files matched your search
@@ -26,6 +26,7 @@
|
||||
|
||||
#include "Core/Config/MainSettings.h"
|
||||
#include "Core/Config/SYSCONFSettings.h"
|
||||
#include "Core/Config/WiimoteSettings.h"
|
||||
#include "Core/ConfigLoaders/IsSettingSaveable.h"
|
||||
|
||||
namespace ConfigLoaders
|
||||
@@ -79,6 +80,11 @@ static const INIToLocationMap& GetINIToLocationMap()
|
||||
{{"Controls", "PadType1"}, {Config::GetInfoForSIDevice(1).GetLocation()}},
|
||||
{{"Controls", "PadType2"}, {Config::GetInfoForSIDevice(2).GetLocation()}},
|
||||
{{"Controls", "PadType3"}, {Config::GetInfoForSIDevice(3).GetLocation()}},
|
||||
{{"Controls", "WiimoteSource0"}, {Config::WIIMOTE_1_SOURCE.GetLocation()}},
|
||||
{{"Controls", "WiimoteSource1"}, {Config::WIIMOTE_2_SOURCE.GetLocation()}},
|
||||
{{"Controls", "WiimoteSource2"}, {Config::WIIMOTE_3_SOURCE.GetLocation()}},
|
||||
{{"Controls", "WiimoteSource3"}, {Config::WIIMOTE_4_SOURCE.GetLocation()}},
|
||||
{{"Controls", "WiimoteSourceBB"}, {Config::WIIMOTE_BB_SOURCE.GetLocation()}},
|
||||
};
|
||||
return ini_to_location;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user