fix some dir issue on osx, if there is a problem on windows or linux, see this : GetSysDirectory in FileUtil.cpp

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3173 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
tmator
2009-05-07 21:19:55 +00:00
parent b0ea0f349b
commit 439523163e
9 changed files with 41 additions and 20 deletions

View File

@ -213,13 +213,13 @@ void Initialize(void *init)
// g_dsp.exception_in_progress_hack = false;
gdsp_reset();
if (!gdsp_load_irom(DSP_IROM_FILE))
if (!gdsp_load_irom((File::GetSysDirectory() + GC_SYS_DIR + DIR_SEP + DSP_IROM).c_str()))
{
bCanWork = false;
PanicAlert("Failed loading DSP ROM from " DSP_IROM_FILE);
}
if (!gdsp_load_coef(DSP_COEF_FILE))
if (!gdsp_load_coef((File::GetSysDirectory() + GC_SYS_DIR + DIR_SEP + DSP_COEF).c_str()))
{
bCanWork = false;
PanicAlert("Failed loading DSP COEF from " DSP_COEF_FILE);