summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2005-08-27 04:51:39 +0000
committerMike Frysinger <vapier@gentoo.org>2005-08-27 04:51:39 +0000
commit4b8e95642a9f8d75ebaba3577ed2490fcdbb2e63 (patch)
tree66a3bc9a8ad7801f8762fd7b960a13a2e5a2d04c /games-emulation/snes9x/files
parentnew patchset w/out redhats check patch (diff)
downloadhistorical-4b8e95642a9f8d75ebaba3577ed2490fcdbb2e63.tar.gz
historical-4b8e95642a9f8d75ebaba3577ed2490fcdbb2e63.tar.bz2
historical-4b8e95642a9f8d75ebaba3577ed2490fcdbb2e63.zip
Fix reverse save/load keys by Matteo Settenvini #81980.
Package-Manager: portage-2.0.51.22-r2
Diffstat (limited to 'games-emulation/snes9x/files')
-rw-r--r--games-emulation/snes9x/files/digest-snes9x-1.43-r11
-rw-r--r--games-emulation/snes9x/files/snes9x-1.43-key-bindings-fix.patch49
2 files changed, 50 insertions, 0 deletions
diff --git a/games-emulation/snes9x/files/digest-snes9x-1.43-r1 b/games-emulation/snes9x/files/digest-snes9x-1.43-r1
new file mode 100644
index 000000000000..b8b43bedd773
--- /dev/null
+++ b/games-emulation/snes9x/files/digest-snes9x-1.43-r1
@@ -0,0 +1 @@
+MD5 2b86716203b6ce1dbfe0395c66bb46b5 snes9x-1.43-src.tar.gz 1016251
diff --git a/games-emulation/snes9x/files/snes9x-1.43-key-bindings-fix.patch b/games-emulation/snes9x/files/snes9x-1.43-key-bindings-fix.patch
new file mode 100644
index 000000000000..99ea776ef064
--- /dev/null
+++ b/games-emulation/snes9x/files/snes9x-1.43-key-bindings-fix.patch
@@ -0,0 +1,49 @@
+--- snes9x-1.43-src/snes9x/unix/x11.cpp.old 2005-02-14 13:18:59.000000000 +0100
++++ snes9x-1.43-src/snes9x/unix/x11.cpp 2005-02-14 13:20:10.000000000 +0100
+@@ -1213,26 +1213,26 @@
+ // re-enable all sound channels
+ Define(TOGGLE_SOUND, 8, Alt(XK_F12), Ctrl(XK_F12));
+ // numbered quicksaves
+- Define(WRITE_SAVE_NUM, 0, XK_F1);
+- Define(WRITE_SAVE_NUM, 1, XK_F2);
+- Define(WRITE_SAVE_NUM, 2, XK_F3);
+- Define(WRITE_SAVE_NUM, 3, XK_F4);
+- Define(WRITE_SAVE_NUM, 4, XK_F5);
+- Define(WRITE_SAVE_NUM, 5, XK_F6);
+- Define(WRITE_SAVE_NUM, 6, XK_F7);
+- Define(WRITE_SAVE_NUM, 7, XK_F8);
+- Define(WRITE_SAVE_NUM, 8, XK_F9);
+- Define(WRITE_SAVE_NUM, 9, XK_F10);
+- Define(LOAD_SAVE_NUM, 0, Shift(XK_F1));
+- Define(LOAD_SAVE_NUM, 1, Shift(XK_F2));
+- Define(LOAD_SAVE_NUM, 2, Shift(XK_F3));
+- Define(LOAD_SAVE_NUM, 3, Shift(XK_F4));
+- Define(LOAD_SAVE_NUM, 4, Shift(XK_F5));
+- Define(LOAD_SAVE_NUM, 5, Shift(XK_F6));
+- Define(LOAD_SAVE_NUM, 6, Shift(XK_F7));
+- Define(LOAD_SAVE_NUM, 7, Shift(XK_F8));
+- Define(LOAD_SAVE_NUM, 8, Shift(XK_F9));
+- Define(LOAD_SAVE_NUM, 9, Shift(XK_F10));
++ Define(LOAD_SAVE_NUM, 0, XK_F1);
++ Define(LOAD_SAVE_NUM, 1, XK_F2);
++ Define(LOAD_SAVE_NUM, 2, XK_F3);
++ Define(LOAD_SAVE_NUM, 3, XK_F4);
++ Define(LOAD_SAVE_NUM, 4, XK_F5);
++ Define(LOAD_SAVE_NUM, 5, XK_F6);
++ Define(LOAD_SAVE_NUM, 6, XK_F7);
++ Define(LOAD_SAVE_NUM, 7, XK_F8);
++ Define(LOAD_SAVE_NUM, 8, XK_F9);
++ Define(LOAD_SAVE_NUM, 9, XK_F10);
++ Define(WRITE_SAVE_NUM, 0, Shift(XK_F1));
++ Define(WRITE_SAVE_NUM, 1, Shift(XK_F2));
++ Define(WRITE_SAVE_NUM, 2, Shift(XK_F3));
++ Define(WRITE_SAVE_NUM, 3, Shift(XK_F4));
++ Define(WRITE_SAVE_NUM, 4, Shift(XK_F5));
++ Define(WRITE_SAVE_NUM, 5, Shift(XK_F6));
++ Define(WRITE_SAVE_NUM, 6, Shift(XK_F7));
++ Define(WRITE_SAVE_NUM, 7, Shift(XK_F8));
++ Define(WRITE_SAVE_NUM, 8, Shift(XK_F9));
++ Define(WRITE_SAVE_NUM, 9, Shift(XK_F10));
+ // layer toggles
+ Define(TOGGLE_LAYER, 0, XK_1);
+ Define(TOGGLE_LAYER, 1, XK_2);