Move the expected location of the DSP ROM files from Sys/GC to User/GC.
These files are acquired from the hardware ROM by the individual user, who does not normally have write access to Sys on Linux and OS X. If you currently have these files in Sys/GC, just move them to User/GC (~/Library/Application\ Support/Dolphin/GC on OS X). git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@6734 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
parent
4e97f83578
commit
daecceb42d
|
@ -211,14 +211,18 @@ void DSP_DebugBreak()
|
|||
void Initialize(void *init)
|
||||
{
|
||||
g_InitMixer = false;
|
||||
bool bCanWork = true;
|
||||
g_dspInitialize = *(DSPInitialize*)init;
|
||||
bool bCanWork = true;
|
||||
char irom_file[MAX_PATH];
|
||||
char coef_file[MAX_PATH];
|
||||
g_dspInitialize = *(DSPInitialize*)init;
|
||||
|
||||
g_Config.Load();
|
||||
|
||||
std::string irom_filename = File::GetSysDirectory() + GC_SYS_DIR + DIR_SEP + DSP_IROM;
|
||||
std::string coef_filename = File::GetSysDirectory() + GC_SYS_DIR + DIR_SEP + DSP_COEF;
|
||||
bCanWork = DSPCore_Init(irom_filename.c_str(), coef_filename.c_str(), AudioCommon::UseJIT());
|
||||
snprintf(irom_file, MAX_PATH, "%s%s",
|
||||
File::GetUserPath(D_GCUSER_IDX), DIR_SEP DSP_IROM);
|
||||
snprintf(coef_file, MAX_PATH, "%s%s",
|
||||
File::GetUserPath(D_GCUSER_IDX), DIR_SEP DSP_COEF);
|
||||
bCanWork = DSPCore_Init(irom_file, coef_file, AudioCommon::UseJIT());
|
||||
|
||||
g_dsp.cpu_ram = g_dspInitialize.pGetMemoryPointer(0);
|
||||
DSPCore_Reset();
|
||||
|
|
Loading…
Reference in New Issue