(Most Plugins) Updated plugins to obey PCSX2's ini folder requests. This will fix problems with plugins failing to save settings on Vista/Win7 due to lack of Admin rights, and also ensures all the plugin inis show up where you would expect them to.

Fixed a couple UI bugs: FirstTime Wizard display bug and the "Configure..." button in the plugin control panel grays out when it should.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2361 96395faa-99c1-11dd-bbfe-3dabce05a288
This commit is contained in:
Jake.Stine committed 2009-12-19 18:30:56 +00:00
1 parent 53357b9efc
commit 9f41fc4793
51 files changed
+460 -294

No files matched your search

+10 -4
View File
@@ -37,7 +37,9 @@ Config conf;
u32 GSKeyEvent = 0;
bool GSShift = false, GSAlt = false;
string s_strIniPath="inis/GSnull.ini";
string s_strIniPath="inis";
const char* s_iniFilename = "GSnull.ini";
void (*GSirq)();
EXPORT_C_(u32) PS2EgetLibType()
@@ -111,11 +113,12 @@ EXPORT_C_(s32) GSinit()
EXPORT_C_(void) GSshutdown()
{
SysPrintf("Shutting down GSnull\n");
GSCloseWindow();
#ifdef GS_LOG
if (gsLog) fclose(gsLog);
#endif
SysPrintf("Shutting down GSnull\n");
}
EXPORT_C_(s32) GSopen(void *pDsp, char *Title, int multithread)
@@ -135,7 +138,10 @@ EXPORT_C_(s32) GSopen(void *pDsp, char *Title, int multithread)
EXPORT_C_(void) GSclose()
{
SysPrintf("Closing GSnull\n");
GSCloseWindow();
// Better to only close the window on Shutdown. All the other plugins
// pretty much worked that way, and all old PCSX2 versions expect it as well.
//GSCloseWindow();
}
EXPORT_C_(void) GSirqCallback(void (*callback)())