diff options
| author | SND\weimingzhi_cp <SND\weimingzhi_cp@e17a0e51-4ae3-4d35-97c3-1a29b211df97> | 2010-08-12 02:56:43 +0000 |
|---|---|---|
| committer | SND\weimingzhi_cp <SND\weimingzhi_cp@e17a0e51-4ae3-4d35-97c3-1a29b211df97> | 2010-08-12 02:56:43 +0000 |
| commit | 8297a92012e3f42ed74d47fc3d11a3003c14b4ae (patch) | |
| tree | fc781551eb9e024428de1c4b2a194c1e1c444be2 /gui/Plugin.c | |
| parent | d4840a37d9adf0b9124fad722a5ae5faae4bb639 (diff) | |
| download | pcsxr-8297a92012e3f42ed74d47fc3d11a3003c14b4ae.tar.gz | |
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
Diffstat (limited to 'gui/Plugin.c')
| -rw-r--r-- | gui/Plugin.c | 26 |
1 files changed, 25 insertions, 1 deletions
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); |
