mirror of
https://github.com/PCSX2/pcsx2.git
synced 2026-09-11 07:12:57 +02:00
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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user