System: UpdateCPUExecutionMode -> SetCPUExecutionMode
This commit is contained in:
@ -88,6 +88,13 @@ void System::UpdateGPUSettings()
|
||||
m_gpu->UpdateSettings();
|
||||
}
|
||||
|
||||
void System::SetCPUExecutionMode(CPUExecutionMode mode)
|
||||
{
|
||||
m_cpu_execution_mode = mode;
|
||||
m_cpu_code_cache->Flush();
|
||||
m_cpu_code_cache->SetUseRecompiler(mode == CPUExecutionMode::Recompiler);
|
||||
}
|
||||
|
||||
bool System::Boot(const char* filename)
|
||||
{
|
||||
// Load CD image up and detect region.
|
||||
@ -509,13 +516,6 @@ void System::UpdateMemoryCards()
|
||||
}
|
||||
}
|
||||
|
||||
void System::UpdateCPUExecutionMode()
|
||||
{
|
||||
m_cpu_execution_mode = GetSettings().cpu_execution_mode;
|
||||
m_cpu_code_cache->Flush();
|
||||
m_cpu_code_cache->SetUseRecompiler(m_cpu_execution_mode == CPUExecutionMode::Recompiler);
|
||||
}
|
||||
|
||||
bool System::HasMedia() const
|
||||
{
|
||||
return m_cdrom->HasMedia();
|
||||
|
||||
Reference in New Issue
Block a user