Fix potential segfault if rgui->info is broken.

This commit is contained in:
Themaister 2013-05-18 22:45:23 +02:00
parent f61cc333e9
commit 085929a40d

View File

@ -403,7 +403,7 @@ void load_menu_game_prepare(void)
menu_rom_history_push(*g_extern.fullpath ? g_extern.fullpath : NULL,
g_settings.libretro,
rgui->info.library_name);
rgui->info.library_name ? rgui->info.library_name : "");
}
#ifdef HAVE_RGUI