mirror of
https://github.com/rvtr/GodMode9i.git
synced 2025-11-02 00:11:07 -04:00
Remove DSi mode check when mounting SD
This commit is contained in:
parent
dd94cd5e77
commit
1223111a98
@ -169,7 +169,7 @@ void dm_drawBottomScreen(void) {
|
|||||||
printf ("\n");
|
printf ("\n");
|
||||||
printf (IMAGETEXT);
|
printf (IMAGETEXT);
|
||||||
}
|
}
|
||||||
if (isDSiMode() && sdMountedDone) {
|
if (sdMountedDone) {
|
||||||
if (isRegularDS || sdMounted) {
|
if (isRegularDS || sdMounted) {
|
||||||
printf ("\n");
|
printf ("\n");
|
||||||
printf (sdMounted ? "R+B - Unmount SD card" : "R+B - Remount SD card");
|
printf (sdMounted ? "R+B - Unmount SD card" : "R+B - Remount SD card");
|
||||||
@ -347,7 +347,7 @@ void driveMenu (void) {
|
|||||||
if (dmCursorPosition > dmMaxCursors) dmCursorPosition = 0; // Wrap around to top of list
|
if (dmCursorPosition > dmMaxCursors) dmCursorPosition = 0; // Wrap around to top of list
|
||||||
|
|
||||||
if (pressed & KEY_A) {
|
if (pressed & KEY_A) {
|
||||||
if (dmAssignedOp[dmCursorPosition] == 0 && isDSiMode() && sdMounted) {
|
if (dmAssignedOp[dmCursorPosition] == 0 && sdMounted) {
|
||||||
dmTextPrinted = false;
|
dmTextPrinted = false;
|
||||||
currentDrive = 0;
|
currentDrive = 0;
|
||||||
chdir("sd:/");
|
chdir("sd:/");
|
||||||
|
|||||||
@ -153,7 +153,9 @@ TWL_CODE void nandUnmount(void) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
bool sdMount(void) {
|
bool sdMount(void) {
|
||||||
fatMountSimple("sd", get_io_dsisd());
|
extern const DISC_INTERFACE __io_dsisd;
|
||||||
|
|
||||||
|
fatMountSimple("sd", &__io_dsisd);
|
||||||
if (sdFound()) {
|
if (sdFound()) {
|
||||||
sdMountedDone = true;
|
sdMountedDone = true;
|
||||||
fatGetVolumeLabel("sd", sdLabel);
|
fatGetVolumeLabel("sd", sdLabel);
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user