From b1ab495136517eadff0e311f63b3470e44d51338 Mon Sep 17 00:00:00 2001 From: Sour Date: Wed, 3 Jul 2019 22:09:03 -0400 Subject: [PATCH] Libretro: Fixed "auto" region being set to 50 FPS --- Libretro/LibretroRenderer.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Libretro/LibretroRenderer.h b/Libretro/LibretroRenderer.h index 964e128..acfeb70 100644 --- a/Libretro/LibretroRenderer.h +++ b/Libretro/LibretroRenderer.h @@ -54,8 +54,8 @@ public: { AudioConfig audio = _console->GetSettings()->GetAudioConfig(); EmulationConfig emulation = _console->GetSettings()->GetEmulationConfig(); - - info.timing.fps = emulation.Region == ConsoleRegion::Ntsc ? 60.098811862348404716732985230828 : 50.006977968268290848936010226333; + + info.timing.fps = _console->GetRegion() == ConsoleRegion::Ntsc ? 60.098811862348404716732985230828 : 50.006977968268290848936010226333; info.timing.sample_rate = audio.SampleRate; float ratio = (float)_console->GetSettings()->GetAspectRatio(_console->GetRegion());