From 05e1e781152ca789ae5cf063c625d712da0b7f6a Mon Sep 17 00:00:00 2001 From: "BADIM-PC\\Vadim" Date: Thu, 15 Feb 2018 14:28:34 +0300 Subject: [PATCH] no message --- src/studio.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/studio.c b/src/studio.c index dfe8646..c7e9685 100644 --- a/src/studio.c +++ b/src/studio.c @@ -1145,7 +1145,7 @@ static void processGamepadMapping() tic_mem* tic = impl.studio.tic; for(s32 i = 0; i < KEYMAP_COUNT; i++) - if(tic->api.key(tic, impl.keycodes[i])) + if(impl.keycodes[i] && tic->api.key(tic, impl.keycodes[i])) tic->ram.input.gamepads.data |= 1 << i; }