Skip to content

Commit

Permalink
Increase pre-loadable ROM size limit more by 64KB
Browse files Browse the repository at this point in the history
  • Loading branch information
RocketRobz committed Dec 23, 2024
1 parent 24e7861 commit 13fccde
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion romsel_aktheme/arm9/source/perGameSettings.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -470,7 +470,7 @@ void perGameSettings (std::string filename) {
}
}

u32 romSizeLimit = (ms().consoleModel > 0 ? 0x1BD0000 : 0xBD0000) + ((sys().dsiWramAccess() && !sys().dsiWramMirrored()) ? ((!sys().arm7SCFGLocked() || *(u32*)0x02FFE1A0 != 0x00403000) ? 0x88000 : 0x80000) : 0);
u32 romSizeLimit = (ms().consoleModel > 0 ? 0x1BE0000 : 0xBE0000) + ((sys().dsiWramAccess() && !sys().dsiWramMirrored()) ? ((!sys().arm7SCFGLocked() || *(u32*)0x02FFE1A0 != 0x00403000) ? 0x88000 : 0x80000) : 0);
romSizeLimit -= 0x400000; // Account for DSi mode setting
const u32 romSizeLimitTwl = (ms().consoleModel > 0 ? 0x1000000 : 0);

Expand Down
2 changes: 1 addition & 1 deletion romsel_dsimenutheme/arm9/source/perGameSettings.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -515,7 +515,7 @@ void perGameSettings (std::string filename, bool* dsiBinariesFound, bool* dsiBin
}
}

u32 romSizeLimit = (ms().consoleModel > 0 ? 0x1BD0000 : 0xBD0000) + ((sys().dsiWramAccess() && !sys().dsiWramMirrored()) ? ((!sys().arm7SCFGLocked() || *(u32*)0x02FFE1A0 != 0x00403000) ? 0x88000 : 0x80000) : 0);
u32 romSizeLimit = (ms().consoleModel > 0 ? 0x1BE0000 : 0xBE0000) + ((sys().dsiWramAccess() && !sys().dsiWramMirrored()) ? ((!sys().arm7SCFGLocked() || *(u32*)0x02FFE1A0 != 0x00403000) ? 0x88000 : 0x80000) : 0);
romSizeLimit -= 0x400000; // Account for DSi mode setting
const u32 romSizeLimitTwl = (ms().consoleModel > 0 ? 0x1000000 : 0);

Expand Down
2 changes: 1 addition & 1 deletion romsel_r4theme/arm9/source/perGameSettings.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -473,7 +473,7 @@ void perGameSettings (std::string filename) {
}
}

u32 romSizeLimit = (ms().consoleModel > 0 ? 0x1BD0000 : 0xBD0000) + ((sys().dsiWramAccess() && !sys().dsiWramMirrored()) ? ((!sys().arm7SCFGLocked() || *(u32*)0x02FFE1A0 != 0x00403000) ? 0x88000 : 0x80000) : 0);
u32 romSizeLimit = (ms().consoleModel > 0 ? 0x1BE0000 : 0xBE0000) + ((sys().dsiWramAccess() && !sys().dsiWramMirrored()) ? ((!sys().arm7SCFGLocked() || *(u32*)0x02FFE1A0 != 0x00403000) ? 0x88000 : 0x80000) : 0);
romSizeLimit -= 0x400000; // Account for DSi mode setting
const u32 romSizeLimitTwl = (ms().consoleModel > 0 ? 0x1000000 : 0);

Expand Down

0 comments on commit 13fccde

Please sign in to comment.