diff options
| author | Matthew Parlane <parlane@gmail.com> | 2013-05-19 00:30:20 +1200 |
|---|---|---|
| committer | Matthew Parlane <parlane@gmail.com> | 2013-05-19 00:30:20 +1200 |
| commit | 7208823396762ae9659ec03addabe696fa93256b (patch) | |
| tree | e7d104f923168b52495d387aa7678447aadca893 /Source/Core/InputCommon | |
| parent | 59924d0291ec78a5763c675e2c943702fedfefb3 (diff) | |
Added config for enabling Balance Board.
Fixed other structures that still assumed 4 of everything.
Diffstat (limited to 'Source/Core/InputCommon')
| -rw-r--r-- | Source/Core/InputCommon/Src/InputConfig.cpp | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/Source/Core/InputCommon/Src/InputConfig.cpp b/Source/Core/InputCommon/Src/InputConfig.cpp index 65529b0a3f..e1af00f41d 100644 --- a/Source/Core/InputCommon/Src/InputConfig.cpp +++ b/Source/Core/InputCommon/Src/InputConfig.cpp @@ -3,7 +3,8 @@ // Refer to the license.txt file included. #include "InputConfig.h" -#include "../../Core/Src/ConfigManager.h" +#include "../Src/ConfigManager.h" +#include "../Src/HW/Wiimote.h" InputPlugin::~InputPlugin() { @@ -18,9 +19,9 @@ bool InputPlugin::LoadConfig(bool isGC) { IniFile inifile; IniFile game_ini; - bool useProfile[4] = {false, false, false, false}; - std::string num[4] = {"1", "2", "3", "4"}; - std::string profile[4]; + bool useProfile[MAX_BBMOTES] = {false, false, false, false, false}; + std::string num[MAX_BBMOTES] = {"1", "2", "3", "4", "BB"}; + std::string profile[MAX_BBMOTES]; std::string path; if (SConfig::GetInstance().m_LocalCoreStartupParameter.GetUniqueID() != "00000000") |
