mirror of
https://github.com/wheremyfoodat/Panda3DS.git
synced 2025-04-19 12:10:59 +12:00
[CFG & NCCH archive] Add bad word list & the user time offset config
This commit is contained in:
parent
7834f6d734
commit
16d150496d
5 changed files with 145 additions and 6 deletions
|
@ -86,8 +86,11 @@ void CFGService::getConfigInfoBlk2(u32 messagePointer) {
|
|||
} else if (size == 4 && blockID == 0xB0003) { // Coordinates (latidude and longtitude) as s16
|
||||
mem.write16(output, 0); // Latitude
|
||||
mem.write16(output + 2, 0); // Longtitude
|
||||
} else if (size == 8 && blockID == 0x30001) { // User time offset
|
||||
printf("Read from user time offset field in NAND. TODO: What is this\n");
|
||||
mem.write64(output, 0);
|
||||
} else {
|
||||
Helpers::panic("Unhandled GetConfigInfoBlk2 configuration");
|
||||
Helpers::panic("Unhandled GetConfigInfoBlk2 configuration. Size = %d, block = %X", size, blockID);
|
||||
}
|
||||
|
||||
mem.write32(messagePointer + 4, Result::Success);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue