diff options
| author | SND\ckain_cp <SND\ckain_cp@e17a0e51-4ae3-4d35-97c3-1a29b211df97> | 2014-05-12 07:21:29 +0000 |
|---|---|---|
| committer | SND\ckain_cp <SND\ckain_cp@e17a0e51-4ae3-4d35-97c3-1a29b211df97> | 2014-05-12 07:21:29 +0000 |
| commit | 5df78f4c2b824a192a4e2691870fd2f04de91075 (patch) | |
| tree | 3e260a98d16f9673c733ea28e9bd4c977e0b392d /gui/Plugin.c | |
| parent | 0d9ec383e2a8d2c50fc633e561bf805a5ca0263c (diff) | |
| download | pcsxr-5df78f4c2b824a192a4e2691870fd2f04de91075.tar.gz | |
gtk: enable controller configuration change during emulation pause/stop.
git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@90350 e17a0e51-4ae3-4d35-97c3-1a29b211df97
Diffstat (limited to 'gui/Plugin.c')
| -rwxr-xr-x | gui/Plugin.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gui/Plugin.c b/gui/Plugin.c index 6727e9b1..08627455 100755 --- a/gui/Plugin.c +++ b/gui/Plugin.c @@ -350,10 +350,12 @@ int _OpenPlugins() { ret = GPU_open(&gpuDisp, "PCSXR", NULL); if (ret < 0) { SysMessage(_("Error opening GPU plugin!")); return -1; } ret = PAD1_open(&gpuDisp); + ret |= PAD1_init(1); // Allow setting to change during run if (ret < 0) { SysMessage(_("Error opening Controller 1 plugin!")); return -1; } PAD1_registerVibration(GPU_visualVibration); PAD1_registerCursor(GPU_cursor); ret = PAD2_open(&gpuDisp); + ret |= PAD2_init(2); // Allow setting to change during run if (ret < 0) { SysMessage(_("Error opening Controller 2 plugin!")); return -1; } PAD2_registerVibration(GPU_visualVibration); PAD2_registerCursor(GPU_cursor); |
