mirror of
https://github.com/libretro/RetroArch
synced 2025-03-03 04:14:00 +00:00
Fix UWP builds
This commit is contained in:
parent
12c6fe1dc0
commit
ebce936557
@ -1428,7 +1428,7 @@ void audio_driver_load_menu_sounds(void)
|
|||||||
const char *path_bgm = NULL;
|
const char *path_bgm = NULL;
|
||||||
struct string_list *list = NULL;
|
struct string_list *list = NULL;
|
||||||
struct string_list *list_fallback = NULL;
|
struct string_list *list_fallback = NULL;
|
||||||
int i = 0;
|
unsigned i = 0;
|
||||||
|
|
||||||
sounds_path = (char*)malloc(PATH_MAX_LENGTH * sizeof(char));
|
sounds_path = (char*)malloc(PATH_MAX_LENGTH * sizeof(char));
|
||||||
sounds_fallback_path = (char*)malloc(PATH_MAX_LENGTH * sizeof(char));
|
sounds_fallback_path = (char*)malloc(PATH_MAX_LENGTH * sizeof(char));
|
||||||
|
@ -3780,7 +3780,7 @@ void rarch_force_video_driver_fallback(const char *driver)
|
|||||||
|
|
||||||
command_event(CMD_EVENT_MENU_SAVE_CURRENT_CONFIG, NULL);
|
command_event(CMD_EVENT_MENU_SAVE_CURRENT_CONFIG, NULL);
|
||||||
|
|
||||||
#ifdef _WIN32
|
#if defined(_WIN32) && !defined(_XBOX) && !defined(__WINRT__) && !defined(WINAPI_FAMILY)
|
||||||
/* UI companion driver is not inited yet, just call into it directly */
|
/* UI companion driver is not inited yet, just call into it directly */
|
||||||
msg_window = &ui_msg_window_win32;
|
msg_window = &ui_msg_window_win32;
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
x
Reference in New Issue
Block a user