File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -243,6 +243,10 @@ int main() {
243
243
* (vu32 * )0x037C0000 = wordBak ;
244
244
}
245
245
246
+ if (isDSiMode ()) {
247
+ getConsoleID ();
248
+ }
249
+
246
250
u8 pmBacklight = readPowerManagement (PM_BACKLIGHT_LEVEL );
247
251
248
252
hasRegulableBacklight = !!(pmBacklight & BIT (4 ) || pmBacklight & BIT (5 ) || pmBacklight & BIT (6 ) || pmBacklight & BIT (7 ));
@@ -276,10 +280,6 @@ int main() {
276
280
backlightLevel = 4 ;
277
281
}
278
282
279
- if (isDSiMode ()) {
280
- getConsoleID ();
281
- }
282
-
283
283
284
284
// Keep the ARM7 mostly idle
285
285
while (!exitflag ) {
Original file line number Diff line number Diff line change @@ -233,6 +233,8 @@ int main() {
233
233
}
234
234
235
235
if (isDSiMode ()) {
236
+ getConsoleID ();
237
+
236
238
memset ((void * )0x0CF80000 , 0 , 0x20 );
237
239
biosDump ((void * )0x02F80020 , (const void * )0x00000020 , 0x7FE0 );
238
240
}
@@ -288,8 +290,6 @@ int main() {
288
290
* (u8 * )(0x02FFFD01 ) = i2cReadRegister (0x4A , 0x30 );
289
291
}
290
292
* (u8 * )(0x02FFFD02 ) = 0x77 ;
291
-
292
- getConsoleID ();
293
293
}
294
294
295
295
You can’t perform that action at this time.
0 commit comments