From e3c6276e4db543199990c19ea3192c053c2b8469 Mon Sep 17 00:00:00 2001 From: neilomen Date: Sun, 12 Sep 2021 08:29:07 -0400 Subject: [PATCH] removed unnecessary platform_web check --- src/core.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/core.c b/src/core.c index d7c1c8dae..711aa889b 100644 --- a/src/core.c +++ b/src/core.c @@ -5406,9 +5406,7 @@ static EM_BOOL EmscriptenGamepadCallback(int eventType, const EmscriptenGamepadE if ((gamepadEvent->connected) && (gamepadEvent->index < MAX_GAMEPADS)) { CORE.Input.Gamepad.ready[gamepadEvent->index] = true; -#if defined(PLATFORM_WEB) sprintf(CORE.Input.Gamepad.name[gamepadEvent->index],"%s",gamepadEvent->id); -#endif } else CORE.Input.Gamepad.ready[gamepadEvent->index] = false;