git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4903 96395faa-99c1-11dd-bbfe-3dabce05a288
This commit is contained in:
gigaherz 2011-09-04 12:45:08 +00:00
parent 2134c43ab0
commit 34edc05ab8
1 changed files with 4 additions and 4 deletions

View File

@ -27,7 +27,7 @@ void SysMessage(const char *fmt, ...)
va_end(list); va_end(list);
swprintf_s(wtmp, L"%S", tmp); swprintf_s(wtmp, L"%S", tmp);
MessageBox( (!!gsWindowHandle) ? (HWND)gsWindowHandle : GetActiveWindow(), wtmp, MessageBox( (!!gsWindowHandle) ? (HWND)gsWindowHandle : GetActiveWindow(), wtmp,
L"SPU2-X System Message", MB_OK | MB_SETFOREGROUND); L"USBqemu System Message", MB_OK | MB_SETFOREGROUND);
} }
void SysMessage(const wchar_t *fmt, ...) void SysMessage(const wchar_t *fmt, ...)
@ -40,18 +40,18 @@ void SysMessage(const wchar_t *fmt, ...)
va_end(list); va_end(list);
MessageBox( (!!gsWindowHandle) ? (HWND)gsWindowHandle : GetActiveWindow(), tmp, MessageBox( (!!gsWindowHandle) ? (HWND)gsWindowHandle : GetActiveWindow(), tmp,
L"SPU2-X System Message", MB_OK | MB_SETFOREGROUND); L"USBqemu System Message", MB_OK | MB_SETFOREGROUND);
} }
////// //////
static TCHAR CfgFile[260] = L"inis/SPU2-X.ini"; static TCHAR CfgFile[260] = L"inis/USBqemu.ini";
void CfgSetSettingsDir( const char* dir ) void CfgSetSettingsDir( const char* dir )
{ {
if(dir == NULL) if(dir == NULL)
{ {
wcscpy(CfgFile, L"inis/SPU2-X.ini"); wcscpy(CfgFile, L"inis/USBqemu.ini");
} }
else else
{ {