mirror of
https://github.com/libretro/RetroArch
synced 2025-03-23 19:21:03 +00:00
Change menu_animation_update returntype to bool
This commit is contained in:
parent
a4d9d59d2b
commit
6694d813e3
@ -434,7 +434,7 @@ static int menu_animation_iterate(struct tween *tween, float dt,
|
||||
return 0;
|
||||
}
|
||||
|
||||
void menu_animation_update(animation_t *animation, float dt)
|
||||
bool menu_animation_update(animation_t *animation, float dt)
|
||||
{
|
||||
unsigned i;
|
||||
unsigned active_tweens = 0;
|
||||
@ -445,10 +445,12 @@ void menu_animation_update(animation_t *animation, float dt)
|
||||
if (!active_tweens)
|
||||
{
|
||||
animation->size = 0;
|
||||
return;
|
||||
return false;
|
||||
}
|
||||
|
||||
g_runloop.frames.video.current.menu.animation.is_active = true;
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -100,7 +100,7 @@ bool menu_animation_push(animation_t *animation, float duration,
|
||||
float target_value, float* subject,
|
||||
enum animation_easing_type easing_enum, tween_cb cb);
|
||||
|
||||
void menu_animation_update(animation_t *animation, float dt);
|
||||
bool menu_animation_update(animation_t *animation, float dt);
|
||||
|
||||
/**
|
||||
* menu_animation_ticker_line:
|
||||
|
Loading…
x
Reference in New Issue
Block a user