diff --git a/bootloader/hos/hos_config.c b/bootloader/hos/hos_config.c index 6bfb4a73..eb64ae1f 100644 --- a/bootloader/hos/hos_config.c +++ b/bootloader/hos/hos_config.c @@ -65,7 +65,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); @@ -169,7 +169,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 d67a32f0..6ea15555 100644 --- a/bootloader/main.c +++ b/bootloader/main.c @@ -272,7 +272,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 e9d96d31..bb722c6f 100644 --- a/nyx/nyx_gui/frontend/gui.c +++ b/nyx/nyx_gui/frontend/gui.c @@ -1415,7 +1415,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 6dea8653..e28d1e7c 100644 --- a/nyx/nyx_gui/frontend/gui_emummc_tools.c +++ b/nyx/nyx_gui/frontend/gui_emummc_tools.c @@ -998,7 +998,7 @@ static lv_res_t _create_change_emummc_window(lv_obj_t *btn_caller) } free(mbr); - emummc_img->dirlist = dirlist("emuMMC", NULL, false, true); + emummc_img->dirlist = dirlist("emuMMC", NULL, DIR_SHOW_DIRS); if (!emummc_img->dirlist) goto out0;