Delete AudioCommon::UseJIT().
This commit is contained in:
parent
102ea55f20
commit
78499e5b7c
|
@ -133,15 +133,6 @@ namespace AudioCommon
|
|||
return backends;
|
||||
}
|
||||
|
||||
bool UseJIT()
|
||||
{
|
||||
if (!Movie::IsDSPHLE() && Movie::IsPlayingInput() && Movie::IsConfigSaved())
|
||||
{
|
||||
return true;
|
||||
}
|
||||
return SConfig::GetInstance().m_DSPEnableJIT;
|
||||
}
|
||||
|
||||
void PauseAndLock(bool doLock, bool unpauseOnUnlock)
|
||||
{
|
||||
if (soundStream)
|
||||
|
|
|
@ -17,7 +17,6 @@ namespace AudioCommon
|
|||
SoundStream *InitSoundStream(void *hWnd);
|
||||
void ShutdownSoundStream();
|
||||
std::vector<std::string> GetSoundBackends();
|
||||
bool UseJIT();
|
||||
void PauseAndLock(bool doLock, bool unpauseOnUnlock=true);
|
||||
void UpdateSoundStream();
|
||||
}
|
||||
|
|
|
@ -143,7 +143,9 @@ bool DSPLLE::Initialize(void *hWnd, bool bWii, bool bDSPThread)
|
|||
irom_file = File::GetSysDirectory() + GC_SYS_DIR DIR_SEP DSP_IROM;
|
||||
if (!File::Exists(coef_file))
|
||||
coef_file = File::GetSysDirectory() + GC_SYS_DIR DIR_SEP DSP_COEF;
|
||||
if (!DSPCore_Init(irom_file, coef_file, AudioCommon::UseJIT()))
|
||||
|
||||
bool use_jit = SConfig::GetInstance().m_DSPEnableJIT;
|
||||
if (!DSPCore_Init(irom_file, coef_file, use_jit))
|
||||
return false;
|
||||
|
||||
g_dsp.cpu_ram = Memory::GetPointer(0);
|
||||
|
|
Loading…
Reference in New Issue