mirror of
https://github.com/hrydgard/ppsspp.git
synced 2025-04-02 11:01:50 -04:00
Remove fast interpreter option
This commit is contained in:
parent
9338cf9740
commit
49e04609a8
4 changed files with 7 additions and 29 deletions
|
@ -185,7 +185,7 @@ void EmuThread::run()
|
|||
coreParameter.fileToStart = fileToStart.toStdString();
|
||||
coreParameter.enableSound = true;
|
||||
coreParameter.gpuCore = GPU_GLES;
|
||||
coreParameter.cpuCore = (CPUCore)g_Config.iCpuCore;
|
||||
coreParameter.cpuCore = g_Config.bJit ? CPU_JIT : CPU_INTERPRETER;
|
||||
coreParameter.enableDebugging = true;
|
||||
coreParameter.printfEmuLog = false;
|
||||
coreParameter.headLess = false;
|
||||
|
|
|
@ -109,15 +109,11 @@ void NativeInit(int argc, const char *argv[], const char *savegame_directory, co
|
|||
gfxLog = true;
|
||||
break;
|
||||
case 'j':
|
||||
g_Config.iCpuCore = CPU_JIT;
|
||||
g_Config.bSaveSettings = false;
|
||||
break;
|
||||
case 'f':
|
||||
g_Config.iCpuCore = CPU_FASTINTERPRETER;
|
||||
g_Config.bJit = true;
|
||||
g_Config.bSaveSettings = false;
|
||||
break;
|
||||
case 'i':
|
||||
g_Config.iCpuCore = CPU_INTERPRETER;
|
||||
g_Config.bJit = false;
|
||||
g_Config.bSaveSettings = false;
|
||||
break;
|
||||
case 'l':
|
||||
|
@ -231,9 +227,8 @@ void MainWindow::UpdateMenus()
|
|||
{
|
||||
ui->action_OptionsDisplayRawFramebuffer->setChecked(g_Config.bDisplayFramebuffer);
|
||||
ui->action_OptionsIgnoreIllegalReadsWrites->setChecked(g_Config.bIgnoreBadMemAccess);
|
||||
ui->action_CPUInterpreter->setChecked(g_Config.iCpuCore == CPU_INTERPRETER);
|
||||
ui->action_CPUFastInterpreter->setChecked(g_Config.iCpuCore == CPU_FASTINTERPRETER);
|
||||
ui->action_CPUDynarec->setChecked(g_Config.iCpuCore == CPU_JIT);
|
||||
ui->action_CPUInterpreter->setChecked(!g_Config.bJit);
|
||||
ui->action_CPUDynarec->setChecked(g_Config.bJit);
|
||||
ui->action_OptionsBufferedRendering->setChecked(g_Config.bBufferedRendering);
|
||||
ui->action_OptionsShowDebugStatistics->setChecked(g_Config.bShowDebugStats);
|
||||
ui->action_OptionsWireframe->setChecked(g_Config.bDrawWireframe);
|
||||
|
@ -518,19 +513,13 @@ void MainWindow::on_action_FileExit_triggered()
|
|||
|
||||
void MainWindow::on_action_CPUDynarec_triggered()
|
||||
{
|
||||
g_Config.iCpuCore = CPU_JIT;
|
||||
g_Config.bJit = true;
|
||||
UpdateMenus();
|
||||
}
|
||||
|
||||
void MainWindow::on_action_CPUInterpreter_triggered()
|
||||
{
|
||||
g_Config.iCpuCore = CPU_INTERPRETER;
|
||||
UpdateMenus();
|
||||
}
|
||||
|
||||
void MainWindow::on_action_CPUFastInterpreter_triggered()
|
||||
{
|
||||
g_Config.iCpuCore = CPU_FASTINTERPRETER;
|
||||
g_Config.bJit = false;
|
||||
UpdateMenus();
|
||||
}
|
||||
|
||||
|
|
|
@ -81,8 +81,6 @@ private slots:
|
|||
|
||||
void on_action_CPUInterpreter_triggered();
|
||||
|
||||
void on_action_CPUFastInterpreter_triggered();
|
||||
|
||||
void on_action_DebugLoadMapFile_triggered();
|
||||
|
||||
void on_action_DebugSaveMapFile_triggered();
|
||||
|
|
|
@ -180,7 +180,6 @@
|
|||
<string>&Core</string>
|
||||
</property>
|
||||
<addaction name="action_CPUInterpreter"/>
|
||||
<addaction name="action_CPUFastInterpreter"/>
|
||||
<addaction name="action_CPUDynarec"/>
|
||||
<addaction name="separator"/>
|
||||
<addaction name="action_OptionsFastMemory"/>
|
||||
|
@ -289,14 +288,6 @@
|
|||
<string>&Interpreter</string>
|
||||
</property>
|
||||
</action>
|
||||
<action name="action_CPUFastInterpreter">
|
||||
<property name="checkable">
|
||||
<bool>true</bool>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>&Slightly Faster Interpreter</string>
|
||||
</property>
|
||||
</action>
|
||||
<action name="action_CPUDynarec">
|
||||
<property name="checkable">
|
||||
<bool>true</bool>
|
||||
|
|
Loading…
Add table
Reference in a new issue