mirror of
https://github.com/s1204IT/Lockpick_RCM.git
synced 2024-11-23 02:06:42 +00:00
keys: Validate storage init
This commit is contained in:
parent
d946ade94b
commit
535a2d97f2
1 changed files with 4 additions and 1 deletions
|
@ -135,7 +135,10 @@ void dump_keys() {
|
||||||
tsec_ctxt_t tsec_ctxt;
|
tsec_ctxt_t tsec_ctxt;
|
||||||
sdmmc_t sdmmc;
|
sdmmc_t sdmmc;
|
||||||
|
|
||||||
emummc_storage_init_mmc(&storage, &sdmmc);
|
if (!emummc_storage_init_mmc(&storage, &sdmmc)) {
|
||||||
|
EPRINTF("Unable to init MMC.");
|
||||||
|
goto out_wait;
|
||||||
|
}
|
||||||
TPRINTFARGS("%kMMC init... ", colors[(color_idx++) % 6]);
|
TPRINTFARGS("%kMMC init... ", colors[(color_idx++) % 6]);
|
||||||
|
|
||||||
// Read package1.
|
// Read package1.
|
||||||
|
|
Loading…
Reference in a new issue