diff --git a/fusee/fusee-secondary/src/nxboot.c b/fusee/fusee-secondary/src/nxboot.c index e46170c4b..cc7f1cacd 100644 --- a/fusee/fusee-secondary/src/nxboot.c +++ b/fusee/fusee-secondary/src/nxboot.c @@ -285,6 +285,9 @@ static bool nxboot_configure_emummc(exo_emummc_config_t *exo_emummc_config) { part_limit = get_file_size(emummc_rawnand_path); } num_parts++; + } else { + /* No more image files. */ + break; } }