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
2009-12-20 13:45:26 +00:00
parent bc3b419272
commit d36ba78392
9 changed files with 27 additions and 5979 deletions
+6
View File
@@ -23,6 +23,7 @@
using namespace std;
#include "USB.h"
string s_strIniPath="inis/";
const unsigned char version = PS2E_USB_VERSION;
const unsigned char revision = 0;
@@ -146,6 +147,11 @@ EXPORT_C_(void) USBsetRAM(void *mem)
USB_LOG("*Setting ram.\n");
}
EXPORT_C_(void) USBsetSettingsDir(const char* dir)
{
s_strIniPath = (dir==NULL) ? "inis/" : dir;
}
// extended funcs
EXPORT_C_(s32) USBfreeze(int mode, freezeData *data)