mirror of
https://github.com/GayPizzaSpecifications/padlab.git
synced 2025-08-04 05:31:33 +00:00
Fix cheeky switch case fallthru
This commit is contained in:
@ -199,11 +199,13 @@ int main(int argc, char** argv)
|
|||||||
repaint = stickr.recalc = true;
|
repaint = stickr.recalc = true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
break;
|
||||||
|
|
||||||
case (SDL_CONTROLLERDEVICEADDED):
|
case (SDL_CONTROLLERDEVICEADDED):
|
||||||
if (pad == NULL)
|
if (pad == NULL)
|
||||||
UseGamepad(event.cdevice.which);
|
UseGamepad(event.cdevice.which);
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case (SDL_CONTROLLERDEVICEREMOVED):
|
case (SDL_CONTROLLERDEVICEREMOVED):
|
||||||
if (pad != NULL && event.cdevice.which == joyid)
|
if (pad != NULL && event.cdevice.which == joyid)
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user