@@ -1496,13 +1496,13 @@ int arm7_main(void) {
1496
1496
const char * romTid = getRomTid (& dsiHeaderTemp .ndshdr );
1497
1497
if (gameOnFlashcard || !isDSiWare ) {
1498
1498
extern u32 clusterCacheSize ;
1499
- clusterCacheSize = 0x10000 ;
1499
+ clusterCacheSize = 0x14000 ;
1500
1500
if (dsiModeConfirmed && ROMsupportsDsiMode (& dsiHeaderTemp .ndshdr )) {
1501
1501
clusterCacheSize = 0x7B0 ;
1502
1502
}
1503
1503
1504
- if (( memcmp ( romTid , "IPG" , 3 ) == 0 ) || (( memcmp ( romTid , "IPK" , 3 ) == 0 )) ) {
1505
- buildFatTableCache (romFile ); // Build uncompressed table for HGSS
1504
+ if (! ROMsupportsDsiMode ( & dsiHeaderTemp . ndshdr ) || ! dsiModeConfirmed ) {
1505
+ buildFatTableCache (romFile ); // Build uncompressed table for NTR titles
1506
1506
if (!romFile -> fatTableCached ) {
1507
1507
buildFatTableCacheCompressed (romFile );
1508
1508
}
@@ -1613,12 +1613,12 @@ int arm7_main(void) {
1613
1613
if (memcmp (romTid , "HND" , 3 ) == 0 ) {
1614
1614
add = 0x108000 ; // 0x02808000
1615
1615
}
1616
- tonccpy ((char * )0x02700000 + add , (char * )0x02700000 , 0x10000 ); // Move FAT table cache elsewhere
1616
+ tonccpy ((char * )0x02700000 + add , (char * )0x02700000 , 0x14000 ); // Move FAT table cache elsewhere
1617
1617
romFile -> fatTableCache = (u32 * )((u32 )romFile -> fatTableCache + add );
1618
1618
savFile -> fatTableCache = (u32 * )((u32 )savFile -> fatTableCache + add );
1619
1619
lastClusterCacheUsed = (u32 * )((u32 )lastClusterCacheUsed + add );
1620
1620
clusterCache += add ;
1621
- toncset ((char * )0x02700000 , 0 , 0x10000 );
1621
+ toncset ((char * )0x02700000 , 0 , 0x14000 );
1622
1622
}
1623
1623
1624
1624
//if (gameOnFlashcard || !isDSiWare || !dsiWramAccess) {
0 commit comments