Skip to content

Commit

Permalink
Really fix android build.
Browse files Browse the repository at this point in the history
  • Loading branch information
RachelBryk committed Jan 1, 2014
1 parent 777c62c commit 8f34085
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Source/Core/Core/BootManager.cpp
Expand Up @@ -152,7 +152,8 @@ bool BootCore(const std::string& _rFilename)
int source;
for (unsigned int i = 0; i < MAX_WIIMOTES; ++i)
{
game_ini.Get("Controls", ("WiimoteSource" + std::to_string((long long) i)).c_str(), &source, -1);
std::string num = StringFromFormat("%u", i);
game_ini.Get("Controls", ("WiimoteSource" + num).c_str(), &source, -1);
if (source != -1 && g_wiimote_sources[i] != source && source >= WIIMOTE_SRC_NONE && source <= WIIMOTE_SRC_HYBRID)
{
config_cache.iSetWiimoteSource[i] = source;
Expand Down

0 comments on commit 8f34085

Please sign in to comment.