SDL_GetJoysticks() follows the SDL_GetStringRule

This commit is contained in:
Sam Lantinga committed 2024-07-19 12:22:03 -07:00
1 parent b32c9615a7
commit 4961af4569
7 files changed
+15 -20

No files matched your search

+1 -1
View File
@@ -86,7 +86,7 @@ int main(int argc, char *argv[])
SDL_free(SDL_GetMice(&num_mice));
SDL_Log("There are %d mice at startup\n", num_mice);
SDL_free(SDL_GetJoysticks(&num_joysticks));
SDL_GetJoysticks(&num_joysticks);
SDL_Log("There are %d joysticks at startup\n", num_joysticks);
if (enable_haptic) {