Skip to content

Commit f12fe63

Browse files
committed
Remove unused parameter from SDL_AddKeyboard and SDL_AddMouse calls in Dreamcast keyboard and mouse initialization
1 parent e2ff9d2 commit f12fe63

2 files changed

Lines changed: 4 additions & 2 deletions

File tree

src/video/dreamcast/SDL_dreamcastkeyboard.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,8 @@ const static unsigned short sdl_key[] = {
6464

6565
void DREAMCAST_InitKeyboard(void)
6666
{
67-
SDL_AddKeyboard(SDL_DEFAULT_KEYBOARD_ID, NULL, true);
67+
// extern void SDL_AddKeyboard(SDL_KeyboardID keyboardID, const char *name);
68+
SDL_AddKeyboard(SDL_DEFAULT_KEYBOARD_ID, NULL);
6869
}
6970

7071

src/video/dreamcast/SDL_dreamcastmouse.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,8 @@ void DREAMCAST_PollMouse();
4646

4747
void DREAMCAST_InitMouse(void)
4848
{
49-
SDL_AddMouse(SDL_DEFAULT_MOUSE_ID, NULL, true); // Must call this first
49+
// extern void SDL_AddMouse(SDL_MouseID mouseID, const char *name);
50+
SDL_AddMouse(SDL_DEFAULT_MOUSE_ID, NULL); // Must call this first
5051
SDL_Mouse *mouse = SDL_GetMouse();
5152

5253
// mouse->Poll = DREAMCAST_PollMouse; // Your update logic

0 commit comments

Comments
 (0)