Skip to content

Commit 845aad4

Browse files
authored
Use "struct SDL_GamePad*" for C compatibility (#83)
1 parent 4c56dba commit 845aad4

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

include/dolphin/pad.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,7 @@ const char* PADGetNativeAxisName(PADSignedNativeAxis axis);
157157
/**
158158
* Returns the SDL gamepad for the index into the controller map.
159159
*/
160-
SDL_Gamepad* PADGetSDLGamepadForIndex(u32 index);
160+
struct SDL_Gamepad* PADGetSDLGamepadForIndex(u32 index);
161161
/* Returns the first native button which is currently pressed */
162162
s32 PADGetNativeButtonPressed(u32 port);
163163
/* Returns the first native axis which is currently pulled halfway or more */

0 commit comments

Comments
 (0)