mirror of
https://github.com/libretro/RetroArch.git
synced 2025-02-12 20:58:18 +00:00
More CXX_BUILD fixes
This commit is contained in:
parent
0ba87ae378
commit
33240511da
@ -696,12 +696,12 @@ float menu_animation_get_delta_time(struct menu_animation_t *animation)
|
||||
return anim->delta_time;
|
||||
}
|
||||
|
||||
void *menu_animation_init(void)
|
||||
struct menu_animation_t *menu_animation_init(void)
|
||||
{
|
||||
struct menu_animation *anim = (struct menu_animation*)calloc(1, sizeof(*anim));
|
||||
if (!anim)
|
||||
return NULL;
|
||||
return anim;
|
||||
return (struct menu_animation_t*)anim;
|
||||
}
|
||||
|
||||
bool menu_animation_is_active(struct menu_animation_t *animation)
|
||||
|
@ -129,7 +129,7 @@ float menu_animation_get_delta_time(struct menu_animation_t *anim);
|
||||
|
||||
bool menu_animation_is_active(struct menu_animation_t *anim);
|
||||
|
||||
void *menu_animation_init(void);
|
||||
struct menu_animation_t *menu_animation_init(void);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
|
@ -43,7 +43,7 @@ typedef struct menu_display
|
||||
bool msg_force;
|
||||
|
||||
menu_framebuf_t frame_buf;
|
||||
void *animation;
|
||||
struct menu_animation_t *animation;
|
||||
|
||||
struct
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user