Skip to content

Commit

Permalink
Skip searching for SRL start function offset for TWL titles
Browse files Browse the repository at this point in the history
  • Loading branch information
RocketRobz committed Dec 14, 2024
1 parent 51425b6 commit 75ac98b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion retail/bootloaderi/source/arm7/patch_arm9.c
Original file line number Diff line number Diff line change
Expand Up @@ -698,7 +698,7 @@ static bool patchCardSetDma(cardengineArm9* ce9, const tNDSHeader* ndsHeader, co

static void patchReset(cardengineArm9* ce9, const tNDSHeader* ndsHeader, const module_params_t* moduleParams) {
const char* romTid = getRomTid(ndsHeader);
if (strcmp(romTid, "NTRJ") == 0 || strncmp(romTid, "HND", 3) == 0 || strncmp(romTid, "HNE", 3) == 0) {
if (ndsHeader->unitCode == 0 && (strcmp(romTid, "NTRJ") == 0 || strncmp(romTid, "HND", 3) == 0 || strncmp(romTid, "HNE", 3) == 0)) {
u32* offset = patchOffsetCache.srlStartOffset9;

if (!patchOffsetCache.srlStartOffsetChecked) {
Expand Down

0 comments on commit 75ac98b

Please sign in to comment.