libretro: don't call _system_av_info cb from _load_game
authornotaz <notasas@gmail.com>
Sat, 11 May 2024 20:51:25 +0000 (23:51 +0300)
committernotaz <notasas@gmail.com>
Sat, 11 May 2024 20:54:45 +0000 (23:54 +0300)
not needed and frontends hate it
libretro/pcsx_rearmed#828

frontend/libretro.c

index 7ad4caa..cd6924c 100644 (file)
@@ -3031,7 +3031,7 @@ static void update_variables(bool in_flight)
 
    update_option_visibility();
 
-   if (old_fps != psxGetFps())
+   if (in_flight && old_fps != psxGetFps())
    {
       struct retro_system_av_info info;
       retro_get_system_av_info(&info);