mirror of
https://github.com/mupen64plus-ae/mupen64plus-core.git
synced 2024-11-30 09:00:43 +00:00
Merge pull request #607 from helviojr/joystick_event_initialize_fix
Fix joy_max for initialize loop
This commit is contained in:
commit
c3e3f17e0f
@ -461,7 +461,7 @@ void event_initialize(void)
|
||||
if (phrase_str[1] == '*')
|
||||
{
|
||||
joy_min = 0;
|
||||
joy_max = NumJoysticks;
|
||||
joy_max = NumJoysticks - 1;
|
||||
}
|
||||
else if (phrase_str[1] >= '0' && phrase_str[1] <= '9')
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user