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