From: notaz Date: Sat, 11 May 2024 20:51:25 +0000 (+0300) Subject: libretro: don't call _system_av_info cb from _load_game X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=672e715c3f3d799e75f3f4a2f9f0db975cdc5e4b;p=pcsx_rearmed.git libretro: don't call _system_av_info cb from _load_game not needed and frontends hate it libretro/pcsx_rearmed#828 --- diff --git a/frontend/libretro.c b/frontend/libretro.c index 7ad4caa8..cd6924c1 100644 --- a/frontend/libretro.c +++ b/frontend/libretro.c @@ -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);