Fix Linux compilation (and I suspect a crash). Fix up some of the null plugins so that they actually load in Linux.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2369 96395faa-99c1-11dd-bbfe-3dabce05a288
This commit is contained in:
arcum42 committed 2009-12-20 13:45:26 +00:00
1 parent bc3b419272
commit d36ba78392
9 files changed
+27 -5979

No files matched your search

+6
View File
@@ -30,6 +30,7 @@ const char *libraryName = "DEV9null Driver";
void (*DEV9irq)(int);
FILE *dev9Log;
Config conf;
string s_strIniPath="inis/";
EXPORT_C_(u32) PS2EgetLibType()
{
@@ -143,6 +144,11 @@ EXPORT_C_(DEV9handler) DEV9irqHandler(void)
return NULL;
}
EXPORT_C_(void) DEV9setSettingsDir(const char* dir)
{
s_strIniPath = (dir==NULL) ? "inis/" : dir;
}
// extended funcs
EXPORT_C_(s32) DEV9test()