Added config for enabling Balance Board.

Fixed other structures that still assumed 4 of everything.
This commit is contained in:
Matthew Parlane
2013-05-19 00:30:20 +12:00
parent 59924d0291
commit 7208823396
4 changed files with 56 additions and 23 deletions

View File

@ -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")