Merge pull request #17689 from warmenhoven/dev/warmenhoven/libretro

libretro: fix fast forwarding
This commit is contained in:
Henrik Rydgård authored and GitHub committed 2023-07-11 07:37:54 +02:00
commit b2edbc1396
1 file changed
+4 -4
+4 -4
View File
@@ -425,6 +425,10 @@ static std::string map_psp_language_to_i18n_locale(int val)
static void check_variables(CoreParameter &coreParam)
{
bool isFastForwarding;
if (environ_cb(RETRO_ENVIRONMENT_GET_FASTFORWARDING, &isFastForwarding))
coreParam.fastForward = isFastForwarding;
bool updated = false;
if ( coreState != CoreState::CORE_POWERUP
@@ -1025,10 +1029,6 @@ static void check_variables(CoreParameter &coreParam)
environ_cb(RETRO_ENVIRONMENT_SET_SYSTEM_AV_INFO, &avInfo);
}
bool isFastForwarding;
if (environ_cb(RETRO_ENVIRONMENT_GET_FASTFORWARDING, &isFastForwarding))
coreParam.fastForward = isFastForwarding;
set_variable_visibility();
}