mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-22 13:49:53 -06:00
Really fix android build.
This commit is contained in:
@ -152,7 +152,8 @@ bool BootCore(const std::string& _rFilename)
|
|||||||
int source;
|
int source;
|
||||||
for (unsigned int i = 0; i < MAX_WIIMOTES; ++i)
|
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)
|
if (source != -1 && g_wiimote_sources[i] != source && source >= WIIMOTE_SRC_NONE && source <= WIIMOTE_SRC_HYBRID)
|
||||||
{
|
{
|
||||||
config_cache.iSetWiimoteSource[i] = source;
|
config_cache.iSetWiimoteSource[i] = source;
|
||||||
|
Reference in New Issue
Block a user