diff --git a/menu/drivers/xmb.c b/menu/drivers/xmb.c index ed73dc043c..d1230b3227 100644 --- a/menu/drivers/xmb.c +++ b/menu/drivers/xmb.c @@ -1136,7 +1136,7 @@ static void xmb_frame(void) if (!gl) return; - menu_animation_update(menu->animation, menu->dt / 7500000.0); + menu_animation_update(menu->animation, menu->dt / 8000000.0); glViewport(0, 0, gl->win_width, gl->win_height); diff --git a/menu/menu.c b/menu/menu.c index 5bcbdd0de0..2537a1f560 100644 --- a/menu/menu.c +++ b/menu/menu.c @@ -382,6 +382,10 @@ int menu_iterate(retro_input_t input, menu->cur_time = rarch_get_time_usec(); menu->dt = menu->cur_time - menu->old_time; + if (menu->dt > 30000) + menu->dt = 30000; + if (menu->dt < 4000) + menu->dt = 4000; menu->old_time = menu->cur_time; if (driver.menu_ctx)