Skip to content

Commit 5a2df65

Browse files
committed
Fix DSi Sound not being auto-set as DSiWare donor ROM
Getting SysNAND region and launcher app works again as well
1 parent 2e01f4f commit 5a2df65

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

quickmenu/arm7/source/main.c

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -243,6 +243,10 @@ int main() {
243243
*(vu32*)0x037C0000 = wordBak;
244244
}
245245

246+
if (isDSiMode()) {
247+
getConsoleID();
248+
}
249+
246250
u8 pmBacklight = readPowerManagement(PM_BACKLIGHT_LEVEL);
247251

248252
hasRegulableBacklight = !!(pmBacklight & BIT(4) || pmBacklight & BIT(5) || pmBacklight & BIT(6) || pmBacklight & BIT(7));
@@ -276,10 +280,6 @@ int main() {
276280
backlightLevel = 4;
277281
}
278282

279-
if (isDSiMode()) {
280-
getConsoleID();
281-
}
282-
283283

284284
// Keep the ARM7 mostly idle
285285
while (!exitflag) {

title/arm7/source/main.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -233,6 +233,8 @@ int main() {
233233
}
234234

235235
if (isDSiMode()) {
236+
getConsoleID();
237+
236238
memset((void*)0x0CF80000, 0, 0x20);
237239
biosDump((void*)0x02F80020, (const void*)0x00000020, 0x7FE0);
238240
}
@@ -288,8 +290,6 @@ int main() {
288290
*(u8*)(0x02FFFD01) = i2cReadRegister(0x4A, 0x30);
289291
}
290292
*(u8*)(0x02FFFD02) = 0x77;
291-
292-
getConsoleID();
293293
}
294294

295295

0 commit comments

Comments
 (0)