mirror of
https://git.eden-emu.dev/eden-emu/eden.git
synced 2025-07-22 09:15:45 +00:00
Fast CPU Time & Improved Fast GPU Time (#109)
needs android setting Signed-off-by: swurl <swurl@swurl.xyz> Co-authored-by: Aleksandr Popovich <alekpopo@pm.me> Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/109 Co-authored-by: swurl <swurl@swurl.xyz> Co-committed-by: swurl <swurl@swurl.xyz>
This commit is contained in:
parent
ed47533be8
commit
b78089e978
14 changed files with 330 additions and 88 deletions
|
@ -238,6 +238,23 @@ struct Values {
|
|||
SwitchableSetting<CpuAccuracy, true> cpu_accuracy{linkage, CpuAccuracy::Auto,
|
||||
CpuAccuracy::Auto, CpuAccuracy::Paranoid,
|
||||
"cpu_accuracy", Category::Cpu};
|
||||
|
||||
SwitchableSetting<bool> use_fast_cpu_time{linkage,
|
||||
false,
|
||||
"use_fast_cpu_time",
|
||||
Category::Cpu,
|
||||
Specialization::Paired,
|
||||
true,
|
||||
true};
|
||||
SwitchableSetting<CpuClock> fast_cpu_time{linkage,
|
||||
CpuClock::Boost,
|
||||
"fast_cpu_time",
|
||||
Category::Cpu,
|
||||
Specialization::Default,
|
||||
true,
|
||||
true,
|
||||
&use_fast_cpu_time};
|
||||
|
||||
SwitchableSetting<bool> cpu_debug_mode{linkage, false, "cpu_debug_mode", Category::CpuDebug};
|
||||
|
||||
Setting<bool> cpuopt_page_tables{linkage, true, "cpuopt_page_tables", Category::CpuDebug};
|
||||
|
@ -428,9 +445,23 @@ struct Values {
|
|||
Category::RendererAdvanced};
|
||||
SwitchableSetting<bool> use_asynchronous_shaders{linkage, false, "use_asynchronous_shaders",
|
||||
Category::RendererAdvanced};
|
||||
SwitchableSetting<bool> use_fast_gpu_time{
|
||||
linkage, true, "use_fast_gpu_time", Category::RendererAdvanced, Specialization::Default,
|
||||
true, true};
|
||||
SwitchableSetting<bool> use_fast_gpu_time{linkage,
|
||||
true,
|
||||
"use_fast_gpu_time",
|
||||
Category::RendererAdvanced,
|
||||
Specialization::Paired,
|
||||
true,
|
||||
true};
|
||||
|
||||
SwitchableSetting<GpuOverclock> fast_gpu_time{linkage,
|
||||
GpuOverclock::Medium,
|
||||
"fast_gpu_time",
|
||||
Category::RendererAdvanced,
|
||||
Specialization::Default,
|
||||
true,
|
||||
true,
|
||||
&use_fast_gpu_time};
|
||||
|
||||
SwitchableSetting<bool> use_vulkan_driver_pipeline_cache{linkage,
|
||||
true,
|
||||
"use_vulkan_driver_pipeline_cache",
|
||||
|
|
|
@ -134,6 +134,8 @@ ENUM(CpuBackend, Dynarmic, Nce);
|
|||
|
||||
ENUM(CpuAccuracy, Auto, Accurate, Unsafe, Paranoid);
|
||||
|
||||
ENUM(CpuClock, Boost, Fast)
|
||||
|
||||
ENUM(MemoryLayout, Memory_4Gb, Memory_6Gb, Memory_8Gb, Memory_10Gb, Memory_12Gb);
|
||||
|
||||
ENUM(ConfirmStop, Ask_Always, Ask_Based_On_Game, Ask_Never);
|
||||
|
@ -157,6 +159,8 @@ ENUM(AppletMode, HLE, LLE);
|
|||
|
||||
ENUM(SpirvOptimizeMode, Never, OnLoad, Always);
|
||||
|
||||
ENUM(GpuOverclock, Low, Medium, High)
|
||||
|
||||
template <typename Type>
|
||||
inline std::string CanonicalizeEnum(Type id) {
|
||||
const auto group = EnumMetadata<Type>::Canonicalizations();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue