From 8053bbee28070b633446c93ba8da8068b9b5498b Mon Sep 17 00:00:00 2001 From: jackchentwkh Date: Sun, 29 Apr 2018 19:00:51 +0800 Subject: [PATCH] only create handle for port 0 --- src/CxbxKrnl/EmuXapi.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/CxbxKrnl/EmuXapi.cpp b/src/CxbxKrnl/EmuXapi.cpp index 721a8ac39..c7fc7ea7e 100644 --- a/src/CxbxKrnl/EmuXapi.cpp +++ b/src/CxbxKrnl/EmuXapi.cpp @@ -339,8 +339,8 @@ HANDLE WINAPI XTL::EMUPATCH(XInputOpen) LOG_FUNC_END; POLLING_PARAMETERS_HANDLE *pph = 0; - - if(dwPort >= 0 && (dwPort <= 3)) + //return pph handle only for port 0, this prevents some title from polling input state with port other than 0 thus fix the no input issue such as RalliSport + if(dwPort >= 0 && (dwPort <= 0)) { if(g_hInputHandle[dwPort] == 0) {