mirror of
https://github.com/libretro/bsnes-libretro.git
synced 2024-11-23 08:59:40 +00:00
libretro.cpp - limit update_geometry calls
This commit is contained in:
parent
ef2b6573d2
commit
999b013aa4
@ -646,12 +646,14 @@ static void run_with_runahead(const int frames)
|
||||
|
||||
void retro_run()
|
||||
{
|
||||
input_poll();
|
||||
|
||||
bool updated = false;
|
||||
if (environ_cb(RETRO_ENVIRONMENT_GET_VARIABLE_UPDATE, &updated) && updated)
|
||||
{
|
||||
update_variables();
|
||||
|
||||
input_poll();
|
||||
update_geometry();
|
||||
update_geometry();
|
||||
}
|
||||
|
||||
bool is_fast_forwarding = false;
|
||||
environ_cb(RETRO_ENVIRONMENT_GET_FASTFORWARDING, &is_fast_forwarding);
|
||||
|
Loading…
Reference in New Issue
Block a user