mirror of
https://github.com/dborth/vbagx.git
synced 2024-11-25 20:16:53 +01:00
This commit is contained in:
parent
ce5c2b3743
commit
f864d0d4a5
@ -1313,7 +1313,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