diff --git a/source/arm11/menu/menu_func.c b/source/arm11/menu/menu_func.c index b7e9dce..2a4d0ac 100644 --- a/source/arm11/menu/menu_func.c +++ b/source/arm11/menu/menu_func.c @@ -498,7 +498,11 @@ // get NAND size (return value in sectors) const s64 nand_size = fGetDeviceSize(FS_DEVICE_NAND) * 0x200; - if (!nand_size) panicMsg("NAND size is zero"); + if (!nand_size) + { + ee_printf("Failed communicating with NAND!\n"); + goto fail; + } // console serial number @@ -650,7 +654,11 @@ // get NAND size (return value in sectors) const s64 nand_size = fGetDeviceSize(FS_DEVICE_NAND) * 0x200; - if (!nand_size) panicMsg("NAND size is zero"); + if (!nand_size) + { + ee_printf("Failed communicating with NAND!\n"); + goto fail; + } ee_printf_screen_center("Select a NAND backup for restore.\nPress [HOME] to cancel.");