From 4ade358e1cf21a5337390eed4f891aa56ed2a5ce Mon Sep 17 00:00:00 2001 From: skymike03 Date: Fri, 29 Aug 2025 18:03:01 +0200 Subject: [PATCH] v1.9.9.3 - add BIOS folder handling for "00 BIOS" platform in download functions --- ports/RGSX/__main__.py | 4 +--- ports/RGSX/network.py | 6 ++++++ 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/ports/RGSX/__main__.py b/ports/RGSX/__main__.py index 03368df..2560f1b 100644 --- a/ports/RGSX/__main__.py +++ b/ports/RGSX/__main__.py @@ -579,9 +579,7 @@ async def main(): elif config.menu_state == "error": draw_error_screen(screen) elif config.menu_state == "update_result": - # Ancien popup supprimé : afficher directement l'historique - config.menu_state = "history" - draw_history_list(screen) + draw_popup(screen) elif config.menu_state == "platform": draw_platform_grid(screen) elif config.menu_state == "game": diff --git a/ports/RGSX/network.py b/ports/RGSX/network.py index 941ae32..775cb68 100644 --- a/ports/RGSX/network.py +++ b/ports/RGSX/network.py @@ -185,7 +185,11 @@ async def check_for_updates(): # Configurer la popup pour afficher le message de succès config.menu_state = "update_result" + # Message succès de mise à jour config.update_result_message = _("network_update_success").format(latest_version) + # Utiliser aussi le système générique de popup pour affichage + config.popup_message = config.update_result_message + config.popup_timer = 5000 # 5 secondes config.update_result_error = False config.update_result_start_time = pygame.time.get_ticks() config.needs_redraw = True @@ -200,6 +204,8 @@ async def check_for_updates(): logger.error(f"Erreur OTA : {str(e)}") config.menu_state = "update_result" config.update_result_message = _("network_update_error").format(str(e)) + config.popup_message = config.update_result_message + config.popup_timer = 5000 config.update_result_error = True config.update_result_start_time = pygame.time.get_ticks() config.needs_redraw = True