diff options
author | wiz <wiz@pkgsrc.org> | 2004-08-25 01:20:11 +0000 |
---|---|---|
committer | wiz <wiz@pkgsrc.org> | 2004-08-25 01:20:11 +0000 |
commit | bd3f7e792c8fa29fbaebe638cd479451dfae1f1c (patch) | |
tree | da9d8aa013d24d2c786802aab6bc98ca872fd401 /emulators/xmame/patches/patch-ab | |
parent | c384127bdb4dc9db6f1b069a05077197f5a33133 (diff) | |
download | pkgsrc-bd3f7e792c8fa29fbaebe638cd479451dfae1f1c.tar.gz |
Fix names for joystick buttons in GUI. Bump PKGREVISION.
Diffstat (limited to 'emulators/xmame/patches/patch-ab')
-rw-r--r-- | emulators/xmame/patches/patch-ab | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/emulators/xmame/patches/patch-ab b/emulators/xmame/patches/patch-ab new file mode 100644 index 00000000000..37857438dc6 --- /dev/null +++ b/emulators/xmame/patches/patch-ab @@ -0,0 +1,13 @@ +$NetBSD: patch-ab,v 1.28 2004/08/25 01:20:11 wiz Exp $ + +--- src/unix/devices.c.orig 2004-08-13 06:30:14.000000000 +0200 ++++ src/unix/devices.c +@@ -971,7 +971,7 @@ static void init_joycodes(void) + } + for (button = 0; button < JOY_BUTTONS; button++) + { +- snprintf(tempname, JOY_NAME_LEN, "Joy %d button %d", stick + 1 , axis + 1); ++ snprintf(tempname, JOY_NAME_LEN, "Joy %d button %d", stick + 1 , button + 1); + add_joylist_entry(tempname, JOYCODE(stick, CODETYPE_BUTTON, button), CODE_OTHER_DIGITAL); + } + } |