Skip to content

Commit 91cdf31

Browse files
committed
B4DS: Fix glitched screen when zooming in to a number in *Sudoku Challenge!*
1 parent 98af4fc commit 91cdf31

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

retail/bootloader/source/arm7/dsi2ds_patches.c

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -25812,14 +25812,12 @@ void patchDSiModeToDSMode(cardengineArm9* ce9, const tNDSHeader* ndsHeader) {
2581225812
}
2581325813
*(u32*)0x02005248 = 0xE1A00000; // nop
2581425814
*(u32*)0x02005260 = 0xE1A00000; // nop
25815-
if (!extendedMemory) {
25816-
*(u32*)0x0201C3B0 = 0xE3A00623; // mov r0, #0x02300000
25817-
}
2581825815
*(u32*)0x0202F298 = 0xE1A00000; // nop
2581925816
*(u32*)0x0203255C = 0xE1A00000; // nop
2582025817
patchInitDSiWare(0x020376D8, extendedMemory ? heapEnd : mepAddr+0x77C000);
2582125818
if (!extendedMemory) {
2582225819
*(u32*)0x02037A48 = mepAddr;
25820+
toncset((u32*)mepAddr, 0, 0x77C000);
2582325821
}
2582425822
patchUserSettingsReadDSiWare(0x02038C78);
2582525823
*(u32*)0x020390A8 = 0xE1A00000; // nop
@@ -25849,14 +25847,12 @@ void patchDSiModeToDSMode(cardengineArm9* ce9, const tNDSHeader* ndsHeader) {
2584925847
*(u32*)0x020054E0 = 0xE1A00000; // nop
2585025848
*(u32*)0x02005524 = 0xE1A00000; // nop
2585125849
*(u32*)0x02005530 = 0xE1A00000; // nop
25852-
if (!extendedMemory) {
25853-
*(u32*)0x02025D24 = 0xE3A00623; // mov r0, #0x02300000
25854-
}
2585525850
*(u32*)0x02038AD8 = 0xE1A00000; // nop
2585625851
*(u32*)0x0203BC34 = 0xE1A00000; // nop
2585725852
patchInitDSiWare(0x02040AD8, extendedMemory ? heapEnd : mepAddr+0x77C000);
2585825853
if (!extendedMemory) {
2585925854
*(u32*)0x02040E64 = mepAddr;
25855+
toncset((u32*)mepAddr, 0, 0x77C000);
2586025856
}
2586125857
patchUserSettingsReadDSiWare(0x02042074);
2586225858
*(u32*)0x0204247C = 0xE1A00000; // nop

0 commit comments

Comments
 (0)