mirror of
https://github.com/yuzu-emu/yuzu-android.git
synced 2025-06-12 05:27:58 -05:00
Added gpu_refresh_rate
config setting for the new interpreter speed hack.
This commit is contained in:
@ -218,16 +218,7 @@ void Update() {
|
||||
|
||||
/// Initialize hardware
|
||||
void Init() {
|
||||
switch (Settings::values.cpu_core) {
|
||||
case Core::CPU_FastInterpreter:
|
||||
kFrameCycles = 268123480 / 2048;
|
||||
break;
|
||||
case Core::CPU_Interpreter:
|
||||
default:
|
||||
kFrameCycles = 268123480 / 60;
|
||||
break;
|
||||
}
|
||||
|
||||
kFrameCycles = 268123480 / Settings::values.gpu_refresh_rate;
|
||||
kFrameTicks = kFrameCycles / 3;
|
||||
|
||||
g_cur_line = 0;
|
||||
|
Reference in New Issue
Block a user