summaryrefslogtreecommitdiffstats
path: root/src/skel/glfw
diff options
context:
space:
mode:
authorSergeanur <s.anureev@yandex.ua>2020-06-03 00:24:08 +0200
committerSergeanur <s.anureev@yandex.ua>2020-06-03 00:24:08 +0200
commit509ca11d76373671281f17c7f828a0187ed7b9e4 (patch)
treec3d072fd7933274fbfc9f85f6be4a09613b2e7be /src/skel/glfw
parentsome CBike code; vehicle cleanup (diff)
parentsome vehicle cleanup (diff)
downloadre3-509ca11d76373671281f17c7f828a0187ed7b9e4.tar
re3-509ca11d76373671281f17c7f828a0187ed7b9e4.tar.gz
re3-509ca11d76373671281f17c7f828a0187ed7b9e4.tar.bz2
re3-509ca11d76373671281f17c7f828a0187ed7b9e4.tar.lz
re3-509ca11d76373671281f17c7f828a0187ed7b9e4.tar.xz
re3-509ca11d76373671281f17c7f828a0187ed7b9e4.tar.zst
re3-509ca11d76373671281f17c7f828a0187ed7b9e4.zip
Diffstat (limited to 'src/skel/glfw')
-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 407418c7..a7194c0c 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;