1
0
Fork 0
forked from eden-emu/eden

[core, frontend] Add Custom CPU Ticks option (#217)

Co-authored-by: Gamer64 <76565986+Gamer64ytb@users.noreply.github.com>
Co-authored-by: crueter <swurl@swurl.xyz>
Reviewed-on: eden-emu/eden#217
This commit is contained in:
Gamer64 2025-06-27 13:45:54 +00:00
parent e7ddc647f3
commit 059d89441e
9 changed files with 55 additions and 3 deletions

View file

@ -259,6 +259,25 @@ struct Values {
true,
&use_fast_cpu_time};
SwitchableSetting<bool> use_custom_cpu_ticks{linkage,
false,
"use_custom_cpu_ticks",
Category::Cpu,
Specialization::Paired,
true,
true};
SwitchableSetting<u32, true> cpu_ticks{linkage,
16000,
77,
65535,
"cpu_ticks",
Category::Cpu,
Specialization::Countable,
true,
true,
&use_custom_cpu_ticks};
SwitchableSetting<bool> cpu_debug_mode{linkage, false, "cpu_debug_mode", Category::CpuDebug};
Setting<bool> cpuopt_page_tables{linkage, true, "cpuopt_page_tables", Category::CpuDebug};