mirror of
https://github.com/rvtr/GodMode9i.git
synced 2025-11-02 00:11:07 -04:00
parent
5a73c67774
commit
7af7377efa
@ -120,18 +120,18 @@ bool nandMount(void) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Photo partition
|
// Photo partition
|
||||||
mbr_t mbr;
|
/* mbr_t mbr;
|
||||||
io_dsi_nand.readSectors(0, 1, &mbr);
|
io_dsi_nand.readSectors(0, 1, &mbr);
|
||||||
fatMount("photo", &io_dsi_nand, mbr.partitions[1].offset, 16, 8);
|
fatMount("photo", &io_dsi_nand, mbr.partitions[1].offset, 16, 8);
|
||||||
|
|
||||||
if (photoFound() && statvfs("photo:/", &st) == 0) {
|
if (photoFound() && statvfs("photo:/", &st) == 0) {
|
||||||
photoSize = st.f_bsize * st.f_blocks;
|
photoSize = st.f_bsize * st.f_blocks;
|
||||||
photoMounted = true;
|
photoMounted = true;
|
||||||
}
|
} */
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
return nandMounted && photoMounted;
|
return nandMounted /*&& photoMounted*/;
|
||||||
}
|
}
|
||||||
|
|
||||||
void nandUnmount(void) {
|
void nandUnmount(void) {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user