[CFG & NCCH archive] Add bad word list & the user time offset config

This commit is contained in:
wheremyfoodat 2023-03-17 03:23:23 +02:00
parent 7834f6d734
commit 16d150496d
5 changed files with 145 additions and 6 deletions

View file

@ -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);