PSP/Joystick: fix formatting
This commit is contained in:
parent
86f223d664
commit
c17d2246fb
1 changed files with 3 additions and 1 deletions
|
@ -210,7 +210,9 @@ static void PSP_JoystickUpdate(SDL_Joystick *joystick)
|
||||||
static enum PspCtrlButtons old_buttons = 0;
|
static enum PspCtrlButtons old_buttons = 0;
|
||||||
static unsigned char old_x = 0, old_y = 0;
|
static unsigned char old_x = 0, old_y = 0;
|
||||||
|
|
||||||
if(sceCtrlPeekBufferPositive(&pad, 1) <= 0) return;
|
if (sceCtrlPeekBufferPositive(&pad, 1) <= 0) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
buttons = pad.Buttons;
|
buttons = pad.Buttons;
|
||||||
x = pad.Lx;
|
x = pad.Lx;
|
||||||
y = pad.Ly;
|
y = pad.Ly;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue