From a5045e4052730e8cb70d4ce2e575a2e880ff3dab Mon Sep 17 00:00:00 2001 From: Themaister Date: Sun, 13 Oct 2013 10:22:23 +0200 Subject: [PATCH] Clarify input_apply_turbo.. --- retroarch.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/retroarch.c b/retroarch.c index ae5148ade9..b095353ed9 100644 --- a/retroarch.c +++ b/retroarch.c @@ -541,7 +541,7 @@ static bool input_apply_turbo(unsigned port, unsigned id, bool res) g_extern.turbo_enable[port] &= ~(1 << id); if (g_extern.turbo_enable[port] & (1 << id)) - return res & ((g_extern.turbo_count % g_settings.input.turbo_period) < g_settings.input.turbo_duty_cycle); + return res && ((g_extern.turbo_count % g_settings.input.turbo_period) < g_settings.input.turbo_duty_cycle); else return res; }