summaryrefslogtreecommitdiff
path: root/Source/Core
diff options
context:
space:
mode:
authorRachel Bryk <RachelBryk@gmail.com>2014-01-01 07:39:50 -0500
committerRachel Bryk <RachelBryk@gmail.com>2014-01-01 07:39:50 -0500
commit8f34085172d07b37d08c2bf99b52ab348196cf97 (patch)
tree10eaf14f5ea764636d8279b25b6fb6053d79df96 /Source/Core
parent777c62c67afc30afcc16228bf59d920802926156 (diff)
Really fix android build.
Diffstat (limited to 'Source/Core')
-rw-r--r--Source/Core/Core/BootManager.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/Source/Core/Core/BootManager.cpp b/Source/Core/Core/BootManager.cpp
index b2d204e1f3..ee0365dd27 100644
--- a/Source/Core/Core/BootManager.cpp
+++ b/Source/Core/Core/BootManager.cpp
@@ -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;