diff options
author | eray orçunus <erayorcunus@gmail.com> | 2020-05-28 02:07:26 +0200 |
---|---|---|
committer | eray orçunus <erayorcunus@gmail.com> | 2020-05-28 10:34:12 +0200 |
commit | 329a387fdfab403bfd8fadef025510ee1081e38f (patch) | |
tree | ce602c20941173f858b768dcd9d37564b513c634 /src/skel/glfw | |
parent | crash fix (diff) | |
download | re3-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/glfw')
-rw-r--r-- | src/skel/glfw/glfw.cpp | 2 |
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; |