mirror of
https://github.com/CTCaer/RetroArch.git
synced 2024-12-21 02:08:16 +00:00
Refactor rarch_main_state_new - use g_extern.main_is_init
This commit is contained in:
parent
f273b34f73
commit
efd356a466
@ -2557,13 +2557,9 @@ static void main_clear_state(bool inited)
|
||||
|
||||
void rarch_main_state_new(void)
|
||||
{
|
||||
static bool inited = false;
|
||||
|
||||
main_clear_state(inited);
|
||||
main_clear_state(g_extern.main_is_init);
|
||||
|
||||
init_msg_queue();
|
||||
|
||||
inited = true;
|
||||
}
|
||||
|
||||
void rarch_main_state_free(void)
|
||||
|
Loading…
Reference in New Issue
Block a user