aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan Beich <jbeich@FreeBSD.org>2015-05-05 00:09:51 +0000
committerJan Beich <jbeich@FreeBSD.org>2015-05-05 00:09:51 +0000
commit17c7989e80a4e6345f0f1f67cbfce7b73e85d630 (patch)
tree734d8be9bfcd2a38bedcbb70354ada5a708c5bfb
parent7649ac1704036feb865fb8514c139e08d33963db (diff)
Notes
-rw-r--r--games/wxlauncher/files/patch-code_apis_JoystickManager.cpp13
1 files changed, 13 insertions, 0 deletions
diff --git a/games/wxlauncher/files/patch-code_apis_JoystickManager.cpp b/games/wxlauncher/files/patch-code_apis_JoystickManager.cpp
new file mode 100644
index 000000000000..c10088726827
--- /dev/null
+++ b/games/wxlauncher/files/patch-code_apis_JoystickManager.cpp
@@ -0,0 +1,13 @@
+--- code/apis/JoystickManager.cpp.orig 2015-04-11 22:15:55 UTC
++++ code/apis/JoystickManager.cpp
+@@ -65,8 +65,10 @@ bool JoyMan::IsInitialized() {
+ */
+ bool JoyMan::Initialize() {
+ if ( JoyMan::IsInitialized() ) {
++#if USE_JOYSTICK
+ wxLogDebug(_T("JoyMan already initialized with %d joysticks"),
+ joysticks.Count());
++#endif
+ return true;
+ }
+