From 17c214537ffa555900af3d72d348d27419612ac4 Mon Sep 17 00:00:00 2001 From: Robin Jones Date: Tue, 5 Nov 2024 23:40:42 +0000 Subject: [PATCH] Minor fix for disk load error Don't bother to load boxart after. --- src/menu/views/load_disk.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/menu/views/load_disk.c b/src/menu/views/load_disk.c index 781ebe27..9ba914d9 100644 --- a/src/menu/views/load_disk.c +++ b/src/menu/views/load_disk.c @@ -169,6 +169,7 @@ void view_load_disk_init (menu_t *menu) { disk_err_t err = disk_info_load(menu->load.disk_path, &menu->load.disk_info); if (err != DISK_OK) { menu_show_error(menu, convert_error_message(err)); + return; } boxart = component_boxart_init(menu->storage_prefix, menu->load.disk_info.id, IMAGE_BOXART_FRONT);