mirror of
https://github.com/dborth/vbagx.git
synced 2024-11-26 04:24:16 +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)
|
if(WPAD_Probe(i, NULL) == WPAD_ERR_NONE)
|
||||||
{
|
{
|
||||||
newStatus = true;
|
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;
|
if(newLevel > 4) newLevel = 4;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
Loading…
Reference in New Issue
Block a user