mirror of
https://github.com/d0k3/GodMode9.git
synced 2025-06-26 13:42:47 +00:00
parent
f3b28ad5e0
commit
f5d20aa3b5
@ -510,7 +510,7 @@ u32 InitEmuNandBase(bool reset)
|
|||||||
return emunand_base_sector; // RedNAND type EmuNAND
|
return emunand_base_sector; // RedNAND type EmuNAND
|
||||||
|
|
||||||
// compact type multiNAND
|
// compact type multiNAND
|
||||||
if (last_valid % 0x2000 == 1) {
|
if (last_valid % 0x2000 <= 1) {
|
||||||
u32 compact_sectors = align(NAND_MIN_SECTORS + 1, 0x2000);
|
u32 compact_sectors = align(NAND_MIN_SECTORS + 1, 0x2000);
|
||||||
emunand_base_sector = last_valid + compact_sectors;
|
emunand_base_sector = last_valid + compact_sectors;
|
||||||
if (GetNandSizeSectors(NAND_EMUNAND) && CheckNandType(NAND_EMUNAND))
|
if (GetNandSizeSectors(NAND_EMUNAND) && CheckNandType(NAND_EMUNAND))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user