diff options
| author | SND\edgbla_cp <SND\edgbla_cp@e17a0e51-4ae3-4d35-97c3-1a29b211df97> | 2011-01-02 21:17:12 +0000 |
|---|---|---|
| committer | SND\edgbla_cp <SND\edgbla_cp@e17a0e51-4ae3-4d35-97c3-1a29b211df97> | 2011-01-02 21:17:12 +0000 |
| commit | f0e0e3d0fdcb81b82fb2d554f2350f9ea135b0e9 (patch) | |
| tree | dd6d10dd82117dab0de37c2cefdaff39791b64d8 /macosx/Plugin.c | |
| parent | ff50ab7210911eb6c49914b68102e18803b7d944 (diff) | |
| download | pcsxr-f0e0e3d0fdcb81b82fb2d554f2350f9ea135b0e9.tar.gz | |
Visual vibration interface.
git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@61703 e17a0e51-4ae3-4d35-97c3-1a29b211df97
Diffstat (limited to 'macosx/Plugin.c')
| -rw-r--r-- | macosx/Plugin.c | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/macosx/Plugin.c b/macosx/Plugin.c index f8c902ef..c5c450d2 100644 --- a/macosx/Plugin.c +++ b/macosx/Plugin.c @@ -77,11 +77,11 @@ int _OpenPlugins() { //signal(SIGPIPE, SignalExit); GPU_clearDynarec(clearDynarec); - + pathUrl = CFBundleCopyResourceURL(CFBundleGetMainBundle(), CFSTR("gpuPeopsSoftX.cfg"), NULL, NULL); if (pathUrl) CFURLGetFileSystemRepresentation(pathUrl, true, path, 1024); - + ret = CDR_open(); if (ret < 0) { SysMessage(_("Error Opening CDR Plugin")); return -1; } ret = SPU_open(); @@ -92,8 +92,10 @@ int _OpenPlugins() { GPU_registerCallback(GPUbusy); ret = PAD1_open(&gpuDisp); if (ret < 0) { SysMessage(_("Error Opening PAD1 Plugin")); return -1; } + PAD1_registerVibration(GPU_visualVibration); ret = PAD2_open(&gpuDisp); if (ret < 0) { SysMessage(_("Error Opening PAD2 Plugin")); return -1; } + PAD2_registerVibration(GPU_visualVibration); return 0; } @@ -106,7 +108,7 @@ int OpenPlugins() { LoadMcds(Config.Mcd1, Config.Mcd2); if (LoadPlugins() == -1) return -1; } - return ret; + return ret; } void ClosePlugins() { |
