Minor fix for disk load error

Don't bother to load boxart after.
This commit is contained in:
Robin Jones 2024-11-05 23:40:42 +00:00
parent 0d2deaa4f4
commit 17c214537f

View File

@ -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); disk_err_t err = disk_info_load(menu->load.disk_path, &menu->load.disk_info);
if (err != DISK_OK) { if (err != DISK_OK) {
menu_show_error(menu, convert_error_message(err)); menu_show_error(menu, convert_error_message(err));
return;
} }
boxart = component_boxart_init(menu->storage_prefix, menu->load.disk_info.id, IMAGE_BOXART_FRONT); boxart = component_boxart_init(menu->storage_prefix, menu->load.disk_info.id, IMAGE_BOXART_FRONT);