From c40c125462d20cda55e69168027a45045aeec18c Mon Sep 17 00:00:00 2001 From: "ctcaer@gmail.com" Date: Sat, 6 Jul 2019 22:30:22 +0300 Subject: [PATCH] [emuMMC] Disable stock emuMMC unti it's fixed --- bootloader/hos/hos.c | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/bootloader/hos/hos.c b/bootloader/hos/hos.c index e78eb5c..e7d17ae 100644 --- a/bootloader/hos/hos.c +++ b/bootloader/hos/hos.c @@ -445,7 +445,16 @@ int hos_launch(ini_sec_t *cfg) // Enable emummc patching. if (emu_cfg.enabled && !h_cfg.emummc_force_disable) + { + if (ctxt.stock) + { + EHPRINTF("Stock emuMMC is not supported yet!"); + return 0; + } + + ctxt.atmosphere = true; // Set atmosphere patching in case of Stock emuMMC and no fss0. config_kip1patch(&ctxt, "emummc"); + } // Check if fuses lower than 4.0.0 and if yes apply NO Gamecard patch. if (h_cfg.autonogc && !(fuse_read_odm(7) & ~0xF) && ctxt.pkg1_id->kb >= KB_FIRMWARE_VERSION_400)