diff --git a/bootloader/hos/hos.h b/bootloader/hos/hos.h index 0888784..63f724d 100644 --- a/bootloader/hos/hos.h +++ b/bootloader/hos/hos.h @@ -53,13 +53,14 @@ typedef struct _launch_ctxt_t void *pkg2; u32 pkg2_size; + bool new_pkg2; - bool new_pkg2; void *kernel; u32 kernel_size; link_t kip1_list; char* kip1_patches; + u32 fss0_hosver; bool svcperm; bool debugmode; bool stock; diff --git a/bootloader/soc/hw_init.c b/bootloader/soc/hw_init.c index 808995c..1394f53 100644 --- a/bootloader/soc/hw_init.c +++ b/bootloader/soc/hw_init.c @@ -40,6 +40,7 @@ extern sdmmc_t sd_sdmmc; extern boot_cfg_t b_cfg; +extern volatile nyx_storage_t *nyx_str; /* * CLK_OSC - 38.4 MHz crystal. diff --git a/nyx/nyx_gui/soc/hw_init.c b/nyx/nyx_gui/soc/hw_init.c index 7bc3006..d8e5491 100644 --- a/nyx/nyx_gui/soc/hw_init.c +++ b/nyx/nyx_gui/soc/hw_init.c @@ -31,6 +31,7 @@ #include "../utils/util.h" extern sdmmc_t sd_sdmmc; +extern volatile nyx_storage_t *nyx_str; void reconfig_hw_workaround(bool extra_reconfig, u32 magic) {