DSPLLE: Only enable the DSP JIT on x64.

The x64 JIT is hardcoded right now, and it seems unlikely that we'll support another arch here soon.
So let's just disable the DSP JIT.
This commit is contained in:
degasus 2017-01-30 23:44:29 +01:00
parent 1603191145
commit 2c69e976d0
1 changed files with 5 additions and 2 deletions

View File

@ -142,8 +142,11 @@ static bool FillDSPInitOptions(DSPInitOptions* opts)
if (!LoadDSPRom(opts->coef_contents.data(), coef_file, DSP_COEF_BYTE_SIZE)) if (!LoadDSPRom(opts->coef_contents.data(), coef_file, DSP_COEF_BYTE_SIZE))
return false; return false;
opts->core_type = SConfig::GetInstance().m_DSPEnableJIT ? DSPInitOptions::CORE_JIT : opts->core_type = DSPInitOptions::CORE_INTERPRETER;
DSPInitOptions::CORE_INTERPRETER; #ifdef _M_X86
if (SConfig::GetInstance().m_DSPEnableJIT)
opts->core_type = DSPInitOptions::CORE_JIT;
#endif
if (SConfig::GetInstance().m_DSPCaptureLog) if (SConfig::GetInstance().m_DSPCaptureLog)
{ {