(GX) fix loading box not displaying
This commit is contained in:
parent
354387b46b
commit
9567db0ffe
|
@ -1121,6 +1121,7 @@ int rgui_iterate(rgui_handle_t *rgui, rgui_action_t action)
|
||||||
rgui_file_type_t menu_type = 0;
|
rgui_file_type_t menu_type = 0;
|
||||||
size_t directory_ptr = 0;
|
size_t directory_ptr = 0;
|
||||||
rgui_list_back(rgui->path_stack, &dir, &menu_type, &directory_ptr);
|
rgui_list_back(rgui->path_stack, &dir, &menu_type, &directory_ptr);
|
||||||
|
int ret = 0;
|
||||||
|
|
||||||
if (menu_type == RGUI_SETTINGS || rgui_is_controller_menu(menu_type))
|
if (menu_type == RGUI_SETTINGS || rgui_is_controller_menu(menu_type))
|
||||||
return rgui_settings_iterate(rgui, action);
|
return rgui_settings_iterate(rgui, action);
|
||||||
|
@ -1214,9 +1215,10 @@ int rgui_iterate(rgui_handle_t *rgui, rgui_action_t action)
|
||||||
{
|
{
|
||||||
snprintf(rgui->path_buf, sizeof(rgui->path_buf), "%s/%s", dir, path);
|
snprintf(rgui->path_buf, sizeof(rgui->path_buf), "%s/%s", dir, path);
|
||||||
console_load_game(rgui->path_buf);
|
console_load_game(rgui->path_buf);
|
||||||
|
rmenu_settings_msg(S_MSG_LOADING_ROM, S_DELAY_1);
|
||||||
rgui->need_refresh = true; // in case of zip extract
|
rgui->need_refresh = true; // in case of zip extract
|
||||||
rgui->msg_force = true;
|
rgui->msg_force = true;
|
||||||
return -1;
|
ret = -1;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
@ -1266,5 +1268,5 @@ int rgui_iterate(rgui_handle_t *rgui, rgui_action_t action)
|
||||||
|
|
||||||
render_text(rgui);
|
render_text(rgui);
|
||||||
|
|
||||||
return 0;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
|
@ -280,6 +280,9 @@ bool rmenu_iterate(void)
|
||||||
return true;
|
return true;
|
||||||
|
|
||||||
deinit:
|
deinit:
|
||||||
|
// draw last frame for loading messages
|
||||||
|
rarch_render_cached_frame();
|
||||||
|
|
||||||
// set a timer delay so that we don't instantly switch back to the menu when
|
// set a timer delay so that we don't instantly switch back to the menu when
|
||||||
// press and holding QUIT in the emulation loop (lasts for 30 frame ticks)
|
// press and holding QUIT in the emulation loop (lasts for 30 frame ticks)
|
||||||
if (!(g_extern.lifecycle_state & (1ULL << RARCH_FRAMEADVANCE)))
|
if (!(g_extern.lifecycle_state & (1ULL << RARCH_FRAMEADVANCE)))
|
||||||
|
|
Loading…
Reference in New Issue