summaryrefslogtreecommitdiff
path: root/emulators/xmame/patches/patch-af
diff options
context:
space:
mode:
Diffstat (limited to 'emulators/xmame/patches/patch-af')
-rw-r--r--emulators/xmame/patches/patch-af40
1 files changed, 0 insertions, 40 deletions
diff --git a/emulators/xmame/patches/patch-af b/emulators/xmame/patches/patch-af
deleted file mode 100644
index beb69b3d9a9..00000000000
--- a/emulators/xmame/patches/patch-af
+++ /dev/null
@@ -1,40 +0,0 @@
-$NetBSD: patch-af,v 1.7 2005/11/17 19:55:55 joerg Exp $
-
---- src/unix/joystick-drivers/joy_standard.c.orig 2005-11-17 16:17:48.000000000 +0000
-+++ src/unix/joystick-drivers/joy_standard.c
-@@ -6,7 +6,7 @@ static int use_old_driver = 0;
-
- struct rc_option joy_standard_opts[] = {
- /* name, shortname, type, dest, deflt, min, max, func, help */
--#if defined(__ARCH_netbsd) || defined(__ARCH_freebsd) || defined(__ARCH_openbsd)
-+#if defined(__ARCH_netbsd) || defined(__ARCH_freebsd) || defined(__ARCH_openbsd) || defined(__ARCH_dragonfly)
- { "joydevname", "jdev", rc_string, &joy_dev,
- "/dev/joy", 0, 0, NULL,
- "Joystick device prefix (defaults to /dev/joy)" },
-@@ -29,7 +29,7 @@ struct rc_option joy_standard_opts[] = {
- #include <sys/ioctl.h>
-
- /* specific joystick for PC clones */
--#if defined(__ARCH_netbsd) || defined(__ARCH_freebsd) || defined(__ARCH_openbsd)
-+#if defined(__ARCH_netbsd) || defined(__ARCH_freebsd) || defined(__ARCH_openbsd) || defined(__ARCH_dragonfly)
-
- #include <machine/joystick.h>
- typedef struct joystick joy_struct;
-@@ -142,7 +142,7 @@ void joy_standard_init(void)
- /* fall through to the next case */
- case 1:
- joy_data[i].num_axes = 2;
--#if defined(__ARCH_netbsd) || defined(__ARCH_freebsd) || defined(__ARCH_openbsd)
-+#if defined(__ARCH_netbsd) || defined(__ARCH_freebsd) || defined(__ARCH_openbsd) || defined(__ARCH_dragonfly)
- joy_data[i].num_buttons = 2;
- #else
- joy_data[i].num_buttons = JOY_BUTTONS;
-@@ -217,7 +217,7 @@ void joy_standard_poll(void)
- continue;
-
- /* get value of buttons */
--#if defined(__ARCH_netbsd) || defined(__ARCH_freebsd) || defined(__ARCH_openbsd)
-+#if defined(__ARCH_netbsd) || defined(__ARCH_freebsd) || defined(__ARCH_openbsd) || defined(__ARCH_dragonfly)
- joy_data[i].buttons[0] = my_joy_data.b1;
- joy_data[i].buttons[1] = my_joy_data.b2;
- #else