mirror of
https://github.com/dborth/snes9xgx.git
synced 2024-12-28 20:21:49 +01:00
This commit is contained in:
parent
c92fb73119
commit
b60f2ff793
@ -1380,7 +1380,7 @@ static int MenuGame()
|
||||
if(WPAD_Probe(i, NULL) == WPAD_ERR_NONE)
|
||||
{
|
||||
newStatus = true;
|
||||
newLevel = int(userInput[i].wpad->battery_level / 100.0) << 2;
|
||||
newLevel = (userInput[i].wpad->battery_level / 100.0) * 4;
|
||||
if(newLevel > 4) newLevel = 4;
|
||||
}
|
||||
else
|
||||
|
Loading…
Reference in New Issue
Block a user