From e4cbcec2f10b1d03626eb0c79971eb6272fd6e87 Mon Sep 17 00:00:00 2001 From: crueter Date: Tue, 30 Dec 2025 18:03:09 +0100 Subject: [settings, frontend] Reorganize graphics/CPU settings, saner defaults (#3233) - Fast GPU now defaults to 256, removed 128 since it's useless. - Completely reorganized graphics and CPU settings on both platforms. Also got rid of Eden's Veil - Merged some "use ..." settings that weren't really necessary. - Changed ExtendedDynamicState to be a combo box Signed-off-by: crueter Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/3233 Reviewed-by: MaranBr Reviewed-by: DraVee Reviewed-by: Lizzie --- src/video_core/gpu.cpp | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) (limited to 'src/video_core/gpu.cpp') diff --git a/src/video_core/gpu.cpp b/src/video_core/gpu.cpp index d97620ce91..36d726c929 100644 --- a/src/video_core/gpu.cpp +++ b/src/video_core/gpu.cpp @@ -13,6 +13,7 @@ #include "common/assert.h" #include "common/settings.h" +#include "common/settings_enums.h" #include "core/core.h" #include "core/core_timing.h" #include "core/frontend/emu_window.h" @@ -200,12 +201,10 @@ struct GPU::Impl { [[nodiscard]] u64 GetTicks() const { u64 gpu_tick = system.CoreTiming().GetGPUTicks(); + Settings::GpuOverclock overclock = Settings::values.fast_gpu_time.GetValue(); - if (Settings::values.use_fast_gpu_time.GetValue()) { - gpu_tick /= (u64) (128 - * std::pow(2, - static_cast( - Settings::values.fast_gpu_time.GetValue()))); + if (overclock != Settings::GpuOverclock::Normal) { + gpu_tick /= 256 * u64(overclock); } return gpu_tick; -- cgit v1.2.3