PSP/Joystick: fix formatting

(cherry picked from commit c17d2246fb)
This commit is contained in:
rofl0r 2024-03-17 20:34:26 +01:00 committed by Sam Lantinga
parent 7169db1e62
commit 12245e4c75
1 changed files with 3 additions and 1 deletions

View File

@ -209,7 +209,9 @@ static void PSP_JoystickUpdate(SDL_Joystick *joystick)
static unsigned char old_x = 0, old_y = 0;
Uint64 timestamp = SDL_GetTicksNS();
if(sceCtrlPeekBufferPositive(&pad, 1) <= 0) return;
if (sceCtrlPeekBufferPositive(&pad, 1) <= 0) {
return;
}
buttons = pad.Buttons;
x = pad.Lx;
y = pad.Ly;