summaryrefslogtreecommitdiffstats
path: root/emulators/vice/files/patch-joy_usb.c
diff options
context:
space:
mode:
Diffstat (limited to 'emulators/vice/files/patch-joy_usb.c')
-rw-r--r--emulators/vice/files/patch-joy_usb.c16
1 files changed, 16 insertions, 0 deletions
diff --git a/emulators/vice/files/patch-joy_usb.c b/emulators/vice/files/patch-joy_usb.c
new file mode 100644
index 0000000..915bbd07
--- /dev/null
+++ b/emulators/vice/files/patch-joy_usb.c
@@ -0,0 +1,16 @@
+--- src/arch/unix/joy_usb.c.orig 2009-10-21 18:46:46.000000000 +0200
++++ src/arch/unix/joy_usb.c 2009-12-25 18:32:15.000000000 +0100
+@@ -179,11 +179,9 @@
+ found = 0;
+ is_joy = 0;
+ #if !defined(HAVE_USBHID_H) && !defined(HAVE_LIBUSB_H) && defined(HAVE_LIBUSBHID)
+- for (d = hid_start_parse(report, id) {
+- }
++ for (d = hid_start_parse(report, id);
+ #else
+- for (d = hid_start_parse(report, 1 << hid_input, id) {
+- }
++ for (d = hid_start_parse(report, 1 << hid_input, id);
+ #endif
+ hid_get_item(d, &h);
+ )
OpenPOWER on IntegriCloud