From fa7eaf3fedb8ce34b7a3f5d89a80344a0e43afe5 Mon Sep 17 00:00:00 2001 From: dborth Date: Thu, 4 Oct 2012 00:33:54 +0000 Subject: [PATCH] Fix lag with GameCube controllers --- source/input.cpp | 14 +------------- 1 file changed, 1 insertion(+), 13 deletions(-) diff --git a/source/input.cpp b/source/input.cpp index 23fe4ca..0028a49 100644 --- a/source/input.cpp +++ b/source/input.cpp @@ -197,8 +197,6 @@ void ResetControls(int consoleCtrl, int wiiCtrl) * * Scans pad and wpad ***************************************************************************/ -static int padsConnected = 0; -static u64 prev, now; void UpdatePads() @@ -207,17 +205,7 @@ UpdatePads() WPAD_ScanPads(); #endif - now = gettime(); - - if(!padsConnected && diff_sec(prev, now) < 2) - return; - - prev = now; - - padsConnected = PAD_ScanPads(); - - if(!padsConnected) - return; + PAD_ScanPads(); for(int i=3; i >= 0; i--) {