mirror of
https://github.com/CTCaer/RetroArch.git
synced 2024-12-22 02:38:11 +00:00
Make menu_animation_get_ptr a static function
This commit is contained in:
parent
541c9a2066
commit
6380ad27bd
@ -51,9 +51,11 @@ struct menu_animation
|
||||
retro_time_t old_time;
|
||||
};
|
||||
|
||||
typedef struct menu_animation menu_animation_t;
|
||||
|
||||
static menu_animation_t menu_animation_state;
|
||||
|
||||
menu_animation_t *menu_animation_get_ptr(void)
|
||||
static menu_animation_t *menu_animation_get_ptr(void)
|
||||
{
|
||||
return &menu_animation_state;
|
||||
}
|
||||
|
@ -33,8 +33,6 @@ extern "C" {
|
||||
typedef float (*easingFunc)(float, float, float, float);
|
||||
typedef void (*tween_cb) (void);
|
||||
|
||||
typedef struct menu_animation menu_animation_t;
|
||||
|
||||
enum menu_animation_easing_type
|
||||
{
|
||||
/* Linear */
|
||||
@ -107,8 +105,6 @@ bool menu_animation_update(float dt);
|
||||
void menu_animation_ticker_str(char *s, size_t len, uint64_t tick,
|
||||
const char *str, bool selected);
|
||||
|
||||
menu_animation_t *menu_animation_get_ptr(void);
|
||||
|
||||
void menu_animation_update_time(void);
|
||||
|
||||
void menu_animation_set_active(void);
|
||||
|
Loading…
Reference in New Issue
Block a user