mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-24 06:39:46 -06:00
DSPCore: Convert core type enum into an enum class
Prevents pollution of the surrounding scope and makes the values strongly-typed.
This commit is contained in:
@ -153,10 +153,10 @@ static bool FillDSPInitOptions(DSPInitOptions* opts)
|
||||
if (!LoadDSPRom(opts->coef_contents.data(), coef_file, DSP_COEF_BYTE_SIZE))
|
||||
return false;
|
||||
|
||||
opts->core_type = DSPInitOptions::CORE_INTERPRETER;
|
||||
opts->core_type = DSPInitOptions::CoreType::Interpreter;
|
||||
#ifdef _M_X86
|
||||
if (SConfig::GetInstance().m_DSPEnableJIT)
|
||||
opts->core_type = DSPInitOptions::CORE_JIT;
|
||||
opts->core_type = DSPInitOptions::CoreType::JIT;
|
||||
#endif
|
||||
|
||||
if (SConfig::GetInstance().m_DSPCaptureLog)
|
||||
|
Reference in New Issue
Block a user