mirror of
https://github.com/libretro/RetroArch.git
synced 2025-02-16 23:48:51 +00:00
Some CXX_BUILD fixes
This commit is contained in:
parent
65670e08ff
commit
848a060562
@ -156,7 +156,7 @@ void init_menu(void)
|
||||
|
||||
find_menu_driver();
|
||||
|
||||
if (!menu_display_check_compatibility(driver->menu_ctx->type))
|
||||
if (!menu_display_check_compatibility((enum menu_display_driver_type)driver->menu_ctx->type))
|
||||
init_menu_fallback();
|
||||
|
||||
if (!(driver->menu = (menu_handle_t*)menu_init(driver->menu_ctx)))
|
||||
|
@ -103,10 +103,10 @@ static menu_list_t *menu_list_new(void)
|
||||
list->selection_buf_size = 1;
|
||||
|
||||
for (i = 0; i < list->menu_stack_size; i++)
|
||||
list->menu_stack[i] = calloc(1, sizeof(*list->menu_stack[i]));
|
||||
list->menu_stack[i] = (file_list_t*)calloc(1, sizeof(*list->menu_stack[i]));
|
||||
|
||||
for (i = 0; i < list->selection_buf_size; i++)
|
||||
list->selection_buf[i] = calloc(1, sizeof(*list->selection_buf[i]));
|
||||
list->selection_buf[i] = (file_list_t*)calloc(1, sizeof(*list->selection_buf[i]));
|
||||
|
||||
return list;
|
||||
|
||||
|
@ -22,8 +22,17 @@
|
||||
|
||||
#include "../libretro-common/dynamic/dylib.c"
|
||||
#include "../libretro-common/file/retro_file.c"
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
#include "../libretro-common/file/retro_stat.c"
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#if defined(__linux) && !defined(ANDROID)
|
||||
#include "../input/drivers/linuxraw_input.c"
|
||||
#include "../input/drivers_joypad/linuxraw_joypad.c"
|
||||
|
Loading…
x
Reference in New Issue
Block a user