Skip to content

Commit 7564a67

Browse files
committed
Bug fix
1 parent 2a5944f commit 7564a67

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

retail/bootloaderi/source/arm7/main.arm7.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1790,8 +1790,8 @@ int arm7_main(void) {
17901790
clusterCache += 0xB880000;
17911791
toncset((char*)0x02700000, 0, 0x80000);
17921792
} else { */
1793-
u32 add = 0x8FC000; // 0x02FFC000
1794-
u16 len = isDSiWare ? 0x1000 : 0x17B0;
1793+
u32 add = isDSiWare ? 0x8FD000 : 0x8FC000; // isDSiWare ? 0x02FFD000 : 0x02FFC000
1794+
u16 len = isDSiWare ? 0x7B0 : 0x17B0;
17951795
tonccpy((char*)0x02700000+add, (char*)0x02700000, len); // Move FAT table cache elsewhere
17961796
romFile->fatTableCache = (u32*)((u32)romFile->fatTableCache+add);
17971797
savFile->fatTableCache = (u32*)((u32)savFile->fatTableCache+add);

0 commit comments

Comments
 (0)