Add games-emulation/pcsx2-0.9.4.
[overlay.git] / games-emulation / pcsx2 / files / pcsx2-plugin-inis.patch
1 --- Linux.old/GtkGui.c  2007-11-19 07:21:55.000000000 +0000
2 +++ Linux/GtkGui.c      2008-02-25 11:57:37.167773962 +0000
3 @@ -723,12 +723,9 @@
4      strcpy(file, Config.PluginsDir); \\r
5         strcat(file, plugin); \\r
6         drv = SysLoadLibrary(file); \\r
7 -    getcwd(file, ARRAYSIZE(file)); /* store current dir */  \\r
8 -    chdir(Config.PluginsDir); /* change dirs so that plugins can find their config file*/  \\r
9         if (drv == NULL) return; \\r
10         conf = (src) SysLoadSym(drv, name); \\r
11         if (SysLibError() == NULL) conf(); \\r
12 -    chdir(file); /* change back*/       \\r
13      SysCloseLibrary(drv);\r
14  \r
15  #define TestPlugin(src, confs, plugin, name) \\r