mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-06-03 17:02:41 +00:00
PowerPC: Get rid of magic numbers related to interp/JIT initialization.
This commit is contained in:
parent
d32359c915
commit
a60d3306b1
10 changed files with 76 additions and 101 deletions
|
@ -41,6 +41,7 @@
|
|||
#include "Core/HW/DSPHLE/DSPHLE.h"
|
||||
#include "Core/HW/DSPLLE/DSPLLE.h"
|
||||
#include "Core/IPC_HLE/WII_IPC_HLE.h"
|
||||
#include "Core/PowerPC/PowerPC.h"
|
||||
|
||||
#include "DiscIO/NANDContentLoader.h"
|
||||
|
||||
|
@ -884,7 +885,7 @@ void CConfigMain::CoreSettingsChanged(wxCommandEvent& event)
|
|||
startup_params.iCPUCore = CPUCores[CPUEngine->GetSelection()].CPUid;
|
||||
if (main_frame->g_pCodeWindow)
|
||||
{
|
||||
bool using_interp = (startup_params.iCPUCore == SCoreStartupParameter::CORE_INTERPRETER);
|
||||
bool using_interp = (startup_params.iCPUCore == PowerPC::CORE_INTERPRETER);
|
||||
main_frame->g_pCodeWindow->GetMenuBar()->Check(IDM_INTERPRETER, using_interp);
|
||||
}
|
||||
break;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue