mirror of
https://github.com/dborth/fceugx.git
synced 2025-01-07 14:28:18 +01:00
This commit is contained in:
parent
409caa732e
commit
895c42eaa0
@ -1388,7 +1388,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