From 8297a92012e3f42ed74d47fc3d11a3003c14b4ae Mon Sep 17 00:00:00 2001 From: "SND\\weimingzhi_cp" Date: Thu, 12 Aug 2010 02:56:43 +0000 Subject: dfsound: readded windows support. gtk gui: increased number of savestate slots. git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@56022 e17a0e51-4ae3-4d35-97c3-1a29b211df97 --- gui/Plugin.c | 26 +++++++++++++++++++++++++- 1 file changed, 25 insertions(+), 1 deletion(-) (limited to 'gui/Plugin.c') diff --git a/gui/Plugin.c b/gui/Plugin.c index 867fce03..f31fef02 100644 --- a/gui/Plugin.c +++ b/gui/Plugin.c @@ -31,7 +31,7 @@ #include "nopic.h" -#define MAX_SLOTS 5 /* ADB TODO Same as Gtk2Gui.c */ +#define MAX_SLOTS 9 /* ADB TODO Same as Gtk2Gui.c */ void OnFile_Exit(); @@ -173,6 +173,30 @@ void PADhandleKey(int key) { if (modalt) KeyStateLoad(4); if (modctrl) KeyStateSave(4); break; + case XK_6: + if (modalt && modctrl) + return; + if (modalt) KeyStateLoad(5); + if (modctrl) KeyStateSave(5); + break; + case XK_7: + if (modalt && modctrl) + return; + if (modalt) KeyStateLoad(6); + if (modctrl) KeyStateSave(6); + break; + case XK_8: + if (modalt && modctrl) + return; + if (modalt) KeyStateLoad(7); + if (modctrl) KeyStateSave(7); + break; + case XK_9: + if (modalt && modctrl) + return; + if (modalt) KeyStateLoad(8); + if (modctrl) KeyStateSave(8); + break; case XK_F1: GPU_freeze(2, (GPUFreeze_t *)&StatesC); -- cgit v1.2.3