summaryrefslogtreecommitdiffstats
path: root/src/skel
diff options
context:
space:
mode:
authoreray orçunus <erayorcunus@gmail.com>2020-05-28 02:07:26 +0200
committereray orçunus <erayorcunus@gmail.com>2020-05-28 10:34:12 +0200
commit329a387fdfab403bfd8fadef025510ee1081e38f (patch)
treece602c20941173f858b768dcd9d37564b513c634 /src/skel
parentcrash fix (diff)
downloadre3-329a387fdfab403bfd8fadef025510ee1081e38f.tar
re3-329a387fdfab403bfd8fadef025510ee1081e38f.tar.gz
re3-329a387fdfab403bfd8fadef025510ee1081e38f.tar.bz2
re3-329a387fdfab403bfd8fadef025510ee1081e38f.tar.lz
re3-329a387fdfab403bfd8fadef025510ee1081e38f.tar.xz
re3-329a387fdfab403bfd8fadef025510ee1081e38f.tar.zst
re3-329a387fdfab403bfd8fadef025510ee1081e38f.zip
Diffstat (limited to 'src/skel')
-rw-r--r--src/skel/glfw/glfw.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/skel/glfw/glfw.cpp b/src/skel/glfw/glfw.cpp
index 21115585..3ef0ab63 100644
--- a/src/skel/glfw/glfw.cpp
+++ b/src/skel/glfw/glfw.cpp
@@ -1747,7 +1747,7 @@ void CapturePad(RwInt32 padID)
void joysChangeCB(int jid, int event)
{
- if (event == GLFW_CONNECTED)
+ if (event == GLFW_CONNECTED && !IsThisJoystickBlacklisted(jid))
{
if (PSGLOBAL(joy1id) == -1)
PSGLOBAL(joy1id) = jid;