mirror of
https://github.com/wheremyfoodat/Panda3DS.git
synced 2025-04-17 19:21:30 +12:00
[CFG Add country info
This commit is contained in:
parent
3d1aafa7dd
commit
96a2dc18b1
1 changed files with 6 additions and 1 deletions
|
@ -37,7 +37,12 @@ void CFGService::getConfigInfoBlk2(u32 messagePointer) {
|
||||||
mem.write8(output, static_cast<u8>(DSPService::SoundOutputMode::Stereo));
|
mem.write8(output, static_cast<u8>(DSPService::SoundOutputMode::Stereo));
|
||||||
} else if (size == 1 && blockID == 0xA0002){ // System language
|
} else if (size == 1 && blockID == 0xA0002){ // System language
|
||||||
mem.write8(output, static_cast<u8>(LanguageCodes::English));
|
mem.write8(output, static_cast<u8>(LanguageCodes::English));
|
||||||
} else if (size == 0x20 && blockID == 0x50005) {
|
} else if (size == 4 && blockID == 0xB0000) { // Country info
|
||||||
|
mem.write8(output, 0); // Unknown
|
||||||
|
mem.write8(output + 1, 0); // Unknown
|
||||||
|
mem.write8(output + 2, 2); // Province (Temporarily stubbed to Washington DC like Citra)
|
||||||
|
mem.write8(output + 3, 49); // Country code (Temporarily stubbed to USA like Citra)
|
||||||
|
}else if (size == 0x20 && blockID == 0x50005) {
|
||||||
printf("[Unimplemented] Read stereo display settings from NAND\n");
|
printf("[Unimplemented] Read stereo display settings from NAND\n");
|
||||||
} else {
|
} else {
|
||||||
Helpers::panic("Unhandled GetConfigInfoBlk2 configuration");
|
Helpers::panic("Unhandled GetConfigInfoBlk2 configuration");
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue