yuzu-emu
/
yuzu-mainline
Archived
1
0
Fork 0

Set Kernel config "Unknown Value" to 0x1

This commit is contained in:
mailwl 2016-03-29 22:29:57 +03:00
parent ad664b4a01
commit df0a81621f
2 changed files with 7 additions and 2 deletions

View File

@ -16,6 +16,9 @@ void Init() {
std::memset(&shared_page, 0, sizeof(shared_page));
shared_page.running_hw = 0x1; // product
// Some games wait until this value becomes 0x1, before asking running_hw
shared_page.unknown_value = 0x1;
}
} // namespace

View File

@ -39,12 +39,14 @@ struct SharedPageDef {
DateTime date_time_0; // 20
DateTime date_time_1; // 40
u8 wifi_macaddr[6]; // 60
u8 wifi_unknown1; // 66
u8 wifi_link_level; // 66
u8 wifi_unknown2; // 67
INSERT_PADDING_BYTES(0x80 - 0x68); // 68
float_le sliderstate_3d; // 80
u8 ledstate_3d; // 84
INSERT_PADDING_BYTES(0xA0 - 0x85); // 85
INSERT_PADDING_BYTES(1); // 85
u8 unknown_value; // 86
INSERT_PADDING_BYTES(0xA0 - 0x87); // 87
u64_le menu_title_id; // A0
u64_le active_menu_title_id; // A8
INSERT_PADDING_BYTES(0x1000 - 0xB0); // B0