Skip to content

Commit

Permalink
Merge pull request #2321 from JosJuice/wiimote-battery-fix
Browse files Browse the repository at this point in the history
Fix emulated Wii Remote battery level being low when not configured
  • Loading branch information
comex committed Apr 25, 2015
2 parents 87bd57e + fe9fdd3 commit 38a14b7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Source/Core/Core/HW/WiimoteEmu/WiimoteEmu.cpp
Expand Up @@ -302,7 +302,7 @@ Wiimote::Wiimote( const unsigned int index )
m_options->settings.emplace_back(new ControlGroup::Setting(_trans("Upright Wiimote"), false));
m_options->settings.emplace_back(new ControlGroup::IterateUI(_trans("Iterative Input")));
m_options->settings.emplace_back(new ControlGroup::Setting(_trans("Speaker Pan"), 0, -127, 127));
m_options->settings.emplace_back(new ControlGroup::Setting(_trans("Battery"), 95, 0, 255));
m_options->settings.emplace_back(new ControlGroup::Setting(_trans("Battery"), 95.0 / 100, 0, 255));

// TODO: This value should probably be re-read if SYSCONF gets changed
m_sensor_bar_on_top = SConfig::GetInstance().m_SYSCONF->GetData<u8>("BT.BAR") != 0;
Expand Down

0 comments on commit 38a14b7

Please sign in to comment.