mirror of
https://github.com/libretro/RetroArch
synced 2025-01-26 18:35:22 +00:00
Make rarch_init_msg_queue() public.
This commit is contained in:
parent
a171f4c9fd
commit
6d1198bf55
@ -481,6 +481,7 @@ int rarch_main_init(int argc, char *argv[]);
|
||||
bool rarch_main_iterate(void);
|
||||
void rarch_main_deinit(void);
|
||||
void rarch_render_cached_frame(void);
|
||||
void rarch_init_msg_queue(void);
|
||||
|
||||
void rarch_load_state(void);
|
||||
void rarch_save_state(void);
|
||||
|
@ -1167,7 +1167,7 @@ static void deinit_recording(void)
|
||||
}
|
||||
#endif
|
||||
|
||||
static void init_msg_queue(void)
|
||||
void rarch_init_msg_queue(void)
|
||||
{
|
||||
if (g_extern.msg_queue)
|
||||
return;
|
||||
@ -2359,7 +2359,7 @@ int rarch_main_init(int argc, char *argv[])
|
||||
goto error;
|
||||
|
||||
init_system_av_info();
|
||||
init_msg_queue();
|
||||
rarch_init_msg_queue();
|
||||
|
||||
if (!g_extern.sram_load_disable)
|
||||
load_save_files();
|
||||
|
@ -209,9 +209,7 @@ void config_set_defaults(void)
|
||||
for (int i = 0; i < MAX_PLAYERS; i++)
|
||||
g_settings.input.joypad_map[i] = i;
|
||||
|
||||
#ifdef RARCH_CONSOLE
|
||||
rarch_assert(g_extern.msg_queue = msg_queue_new(8));
|
||||
#endif
|
||||
rarch_init_msg_queue();
|
||||
}
|
||||
|
||||
#ifdef HAVE_CONFIGFILE
|
||||
|
Loading…
x
Reference in New Issue
Block a user