mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-11-14 01:59:34 +01:00
Merge pull request #17689 from warmenhoven/dev/warmenhoven/libretro
libretro: fix fast forwarding
This commit is contained in:
1 file changed
+4
-4
@@ -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();
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user