Add emmc mounting, Add waitmenu()

This commit is contained in:
Such Meme, Many Skill
2019-12-11 13:18:57 +01:00
parent e837e2e6ed
commit ae225abb75
17 changed files with 347 additions and 2725 deletions

View File

@@ -179,7 +179,7 @@ DRESULT disk_read (
secindex++;
}
}
//system_part (pdrv == 1) ? system_part_sys : system_part_usr
if (nx_emmc_part_read(&storage, system_part, sector, count, buff)) {
u32 tweak_exp = 0;
bool regen_tweak = true;

View File

@@ -48,11 +48,17 @@
Module Private Definitions
---------------------------------------------------------------------------*/
/*
PARTITION VolToPart[] = {
{0, 1},
{1, 8},
{1, 9}
};
*/
PARTITION VolToPart[] = {
{0, 1},
{1, 1},
{1, 2}
{1, 0}
};
#if FF_DEFINED != 86604 /* Revision ID */

View File

@@ -163,12 +163,12 @@
/ Drive/Volume Configurations
/---------------------------------------------------------------------------*/
#define FF_VOLUMES 3
#define FF_VOLUMES 2
/* Number of volumes (logical drives) to be used. (1-10) */
#define FF_STR_VOLUME_ID 1
#define FF_VOLUME_STRS "sd", "system", "user"
#define FF_VOLUME_STRS "sd", "emmc"
/* FF_STR_VOLUME_ID switches support for volume ID in arbitrary strings.
/ When FF_STR_VOLUME_ID is set to 1 or 2, arbitrary strings can be used as drive