(CONSOLE) Fixes history list on console when g_extern.fullpath
does not point to a ROM path
This commit is contained in:
parent
775ed24633
commit
3b5c85f485
|
@ -364,6 +364,8 @@ void rgui_list_get_last(const rgui_list_t *list,
|
|||
#endif
|
||||
|
||||
void load_menu_game_prepare(void)
|
||||
{
|
||||
if (*g_extern.fullpath)
|
||||
{
|
||||
if (g_extern.lifecycle_mode_state & (1ULL << MODE_INFO_DRAW))
|
||||
{
|
||||
|
@ -376,11 +378,8 @@ void load_menu_game_prepare(void)
|
|||
}
|
||||
|
||||
if (rgui->history)
|
||||
{
|
||||
rom_history_push(rgui->history,
|
||||
g_extern.fullpath,
|
||||
g_settings.libretro,
|
||||
rgui->info.library_name);
|
||||
rom_history_push(rgui->history, g_extern.fullpath,
|
||||
g_settings.libretro, rgui->info.library_name);
|
||||
}
|
||||
|
||||
// Draw frame for loading message
|
||||
|
|
Loading…
Reference in New Issue