mirror of
https://git.eden-emu.dev/eden-emu/eden.git
synced 2026-08-15 21:19:47 +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:
@@ -200,7 +200,10 @@ struct GPU::Impl {
|
||||
u64 gpu_tick = system.CoreTiming().GetGPUTicks();
|
||||
|
||||
if (Settings::values.use_fast_gpu_time.GetValue()) {
|
||||
gpu_tick /= 256;
|
||||
gpu_tick /= (u64) (128
|
||||
* std::pow(2,
|
||||
static_cast<u32>(
|
||||
Settings::values.fast_gpu_time.GetValue())));
|
||||
}
|
||||
|
||||
return gpu_tick;
|
||||
|
||||
Reference in New Issue
Block a user