mirror of https://git.suyu.dev/suyu/suyu
Merge pull request #396 from bunnei/default-dyncom
Core: Change default CPU to dyncom.
This commit is contained in:
commit
edbb47d967
|
@ -27,7 +27,7 @@ pad_sleft =
|
||||||
pad_sright =
|
pad_sright =
|
||||||
|
|
||||||
[Core]
|
[Core]
|
||||||
cpu_core = ## 0: Interpreter (default), 1: FastInterpreter (experimental)
|
cpu_core = ## 0: Interpreter (default), 1: OldInterpreter (may work better, soon to be deprecated)
|
||||||
gpu_refresh_rate = ## 30 (default)
|
gpu_refresh_rate = ## 30 (default)
|
||||||
frame_skip = ## 0: No frameskip (default), 1 : 2x frameskip, 2 : 4x frameskip, etc.
|
frame_skip = ## 0: No frameskip (default), 1 : 2x frameskip, 2 : 4x frameskip, etc.
|
||||||
|
|
||||||
|
|
|
@ -53,10 +53,10 @@ int Init() {
|
||||||
g_sys_core = new ARM_Interpreter();
|
g_sys_core = new ARM_Interpreter();
|
||||||
|
|
||||||
switch (Settings::values.cpu_core) {
|
switch (Settings::values.cpu_core) {
|
||||||
case CPU_FastInterpreter:
|
case CPU_Interpreter:
|
||||||
g_app_core = new ARM_DynCom();
|
g_app_core = new ARM_DynCom();
|
||||||
break;
|
break;
|
||||||
case CPU_Interpreter:
|
case CPU_OldInterpreter:
|
||||||
default:
|
default:
|
||||||
g_app_core = new ARM_Interpreter();
|
g_app_core = new ARM_Interpreter();
|
||||||
break;
|
break;
|
||||||
|
|
|
@ -13,7 +13,7 @@ namespace Core {
|
||||||
|
|
||||||
enum CPUCore {
|
enum CPUCore {
|
||||||
CPU_Interpreter,
|
CPU_Interpreter,
|
||||||
CPU_FastInterpreter
|
CPU_OldInterpreter,
|
||||||
};
|
};
|
||||||
|
|
||||||
extern ARM_Interface* g_app_core; ///< ARM11 application core
|
extern ARM_Interface* g_app_core; ///< ARM11 application core
|
||||||
|
|
Loading…
Reference in New Issue