diff --git a/bootloader/hos/hos_config.c b/bootloader/hos/hos_config.c index 05822b77..14ca1ee1 100644 --- a/bootloader/hos/hos_config.c +++ b/bootloader/hos/hos_config.c @@ -68,7 +68,7 @@ static int _config_kip1(launch_ctxt_t *ctxt, const char *value) u32 dirlen = 0; dir[strlen(dir) - 2] = 0; - dirlist_t *filelist = dirlist(dir, "*.kip*", false, false); + dirlist_t *filelist = dirlist(dir, "*.kip*", 0); strcat(dir, "/"); dirlen = strlen(dir); @@ -172,7 +172,7 @@ static int _config_stock(launch_ctxt_t *ctxt, const char *value) { if (*value == '1') { - DPRINTF("Disabled all patching\n"); + DPRINTF("Enabled stock mode\n"); ctxt->stock = true; } return 1; diff --git a/bootloader/main.c b/bootloader/main.c index 08f8c6fa..4c14174b 100644 --- a/bootloader/main.c +++ b/bootloader/main.c @@ -277,7 +277,7 @@ static void _launch_payloads() dir = (char *)malloc(256); memcpy(dir, "bootloader/payloads", 20); - filelist = dirlist(dir, NULL, false, false); + filelist = dirlist(dir, NULL, 0); u32 i = 0; diff --git a/nyx/nyx_gui/frontend/gui.c b/nyx/nyx_gui/frontend/gui.c index c31a49d1..85492295 100644 --- a/nyx/nyx_gui/frontend/gui.c +++ b/nyx/nyx_gui/frontend/gui.c @@ -1401,7 +1401,7 @@ static lv_res_t _create_mbox_payloads(lv_obj_t *btn) goto out_end; } - dirlist_t *filelist = dirlist("bootloader/payloads", NULL, false, false); + dirlist_t *filelist = dirlist("bootloader/payloads", NULL, 0); sd_unmount(); u32 i = 0; diff --git a/nyx/nyx_gui/frontend/gui_emummc_tools.c b/nyx/nyx_gui/frontend/gui_emummc_tools.c index 2fc669d6..e6af92be 100644 --- a/nyx/nyx_gui/frontend/gui_emummc_tools.c +++ b/nyx/nyx_gui/frontend/gui_emummc_tools.c @@ -1641,7 +1641,7 @@ static lv_res_t _create_change_emummc_window(lv_obj_t *btn_caller) emummc_img->part_type[i - 1] = mbr->partitions[i].type; } - emummc_img->dirlist = dirlist("emuMMC", NULL, false, true); + emummc_img->dirlist = dirlist("emuMMC", NULL, DIR_SHOW_DIRS); if (!emummc_img->dirlist) goto out0;