Skip to content

Commit eef2656

Browse files
committed
Comment out unused code
1 parent bdc6737 commit eef2656

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

retail/bootloader/source/arm7/patch_arm9.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,7 @@ static bool patchCardRead(cardengineArm9* ce9, const tNDSHeader* ndsHeader, cons
156156
dbg_hexa((u32)ce9);
157157
dbg_printf("\n");
158158

159-
extern u32 apPatchPostCardReadFileCluster;
159+
/* extern u32 apPatchPostCardReadFileCluster;
160160
extern u32 apPatchPostCardReadOffset;
161161
extern u32 apPatchPostCardReadSize;
162162
if (apPatchPostCardReadFileCluster == CLUSTER_FREE || apPatchPostCardReadOffset == 0 || apPatchPostCardReadSize == 0) {
@@ -171,7 +171,7 @@ static bool patchCardRead(cardengineArm9* ce9, const tNDSHeader* ndsHeader, cons
171171
getFileFromCluster(&file, apPatchPostCardReadFileCluster);
172172
fileRead((char*)postCardReadCodeOffset, &file, apPatchPostCardReadOffset, apPatchPostCardReadSize);
173173
174-
dbg_printf("Loaded post card read AP-fix\n\n");
174+
dbg_printf("Loaded post card read AP-fix\n\n"); */
175175
return true;
176176
}
177177

retail/bootloaderi/source/arm7/patch_arm9.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -296,7 +296,7 @@ static bool patchCardRead(cardengineArm9* ce9, const tNDSHeader* ndsHeader, cons
296296
dbg_hexa((u32)ce9);
297297
dbg_printf("\n");
298298

299-
extern u16 bootstrapOnFlashcard;
299+
/* extern u16 bootstrapOnFlashcard;
300300
extern u32 apPatchPostCardReadFileCluster;
301301
extern u32 apPatchPostCardReadOffset;
302302
extern u32 apPatchPostCardReadSize;
@@ -312,7 +312,7 @@ static bool patchCardRead(cardengineArm9* ce9, const tNDSHeader* ndsHeader, cons
312312
getFileFromCluster(&file, apPatchPostCardReadFileCluster, bootstrapOnFlashcard);
313313
fileRead((char*)postCardReadCodeOffset, &file, apPatchPostCardReadOffset, apPatchPostCardReadSize);
314314
315-
dbg_printf("Loaded post card read AP-fix\n\n");
315+
dbg_printf("Loaded post card read AP-fix\n\n"); */
316316

317317
/*if (ndsHeader->unitCode > 0 && dsiModeConfirmed) {
318318
cardReadStartOffset = patchOffsetCache.cardReadHashOffset;

0 commit comments

Comments
 (0)