Skip to content

Commit 8bc8fcb

Browse files
committed
Update dsi2ds_patches.c
1 parent 9c65c2d commit 8bc8fcb

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

retail/bootloader/source/arm7/dsi2ds_patches.c

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -28391,9 +28391,9 @@ void patchDSiModeToDSMode(cardengineArm9* ce9, const tNDSHeader* ndsHeader) {
2839128391
tonccpy((u32*)0x0201DA10, dsiSaveGetResultCode, 0xC);
2839228392
*(u32*)0x02020374 = 0xE1A00000; // nop
2839328393
patchInitDSiWare(0x02026E84, heapEnd);
28394-
if (!extendedMemory) {
28394+
/* if (!extendedMemory) {
2839528395
*(u32*)0x020271F4 = *(u32*)0x02004FC0;
28396-
}
28396+
} */
2839728397
patchUserSettingsReadDSiWare(0x02028360);
2839828398
if (largeS2RAM) {
2839928399
*(u32*)0x0205E524 = (s2FlashcardId == ezFlash) ? 0xE3A00408 : 0xE3A00409; // mov r0, (s2FlashcardId == ezFlash) ? #0x08000000 : #0x09000000
@@ -28428,9 +28428,9 @@ void patchDSiModeToDSMode(cardengineArm9* ce9, const tNDSHeader* ndsHeader) {
2842828428
tonccpy((u32*)0x02019DE4, dsiSaveGetResultCode, 0xC);
2842928429
*(u32*)0x0201C748 = 0xE1A00000; // nop
2843028430
patchInitDSiWare(0x02023258, heapEnd);
28431-
if (!extendedMemory) {
28431+
/* if (!extendedMemory) {
2843228432
*(u32*)0x020235C8 = *(u32*)0x020013C0;
28433-
}
28433+
} */
2843428434
patchUserSettingsReadDSiWare(0x02024734);
2843528435
if (largeS2RAM) {
2843628436
*(u32*)0x0205A8C8 = (s2FlashcardId == ezFlash) ? 0xE3A00408 : 0xE3A00409; // mov r0, (s2FlashcardId == ezFlash) ? #0x08000000 : #0x09000000

0 commit comments

Comments
 (0)