Missed some SPU2-X and all zzogl code in the last commit.

Fixed assumption that all paths received from pcsx2 end in the path separator.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4484 96395faa-99c1-11dd-bbfe-3dabce05a288
This commit is contained in:
sudonim1 committed 2011-03-25 01:09:18 +00:00
1 parent e26693f5d4
commit 7d75a5a53b
18 files changed
+51 -52

No files matched your search

+4 -4
View File
@@ -18,8 +18,8 @@
using namespace std;
#include "USB.h"
string s_strIniPath="inis/";
string s_strLogPath="logs/";
string s_strIniPath="inis";
string s_strLogPath="logs";
const unsigned char version = PS2E_USB_VERSION;
const unsigned char revision = 0;
@@ -43,7 +43,7 @@ void LogInit()
EXPORT_C_(void) USBsetLogDir(const char* dir)
{
// Get the path to the log directory.
s_strLogPath = (dir==NULL) ? "logs/" : dir;
s_strLogPath = (dir==NULL) ? "logs" : dir;
// Reload the log file after updated the path
USBLog.Close();
@@ -239,7 +239,7 @@ EXPORT_C_(void) USBsetRAM(void *mem)
EXPORT_C_(void) USBsetSettingsDir(const char* dir)
{
// Get the path to the ini directory.
s_strIniPath = (dir==NULL) ? "inis/" : dir;
s_strIniPath = (dir==NULL) ? "inis" : dir;
}
// extended funcs