mirror of
https://github.com/libretro/RetroArch
synced 2025-03-29 22:20:21 +00:00
(Menu) Forgot to deinit if main_is_init is true
This commit is contained in:
parent
ae1e3b3f07
commit
8deaf2b714
@ -274,6 +274,9 @@ bool load_menu_game(void)
|
||||
// The pointers themselves are not const, and can be messed around with by getopt_long().
|
||||
memcpy(argv_copy, argv, sizeof(argv));
|
||||
|
||||
if (g_extern.main_is_init)
|
||||
rarch_main_deinit();
|
||||
|
||||
ret = rarch_main_init(argc, argv);
|
||||
|
||||
for (i = 0; i < ARRAY_SIZE(argv_copy); i++)
|
||||
|
Loading…
x
Reference in New Issue
Block a user