mirror of
https://github.com/yuzu-emu/yuzu-android.git
synced 2024-12-27 04:35:55 +00:00
Merge pull request #1613 from mailwl/anp
Set Kernel config "Hardware Inited" to 1 (true)
This commit is contained in:
commit
38f4c9cce9
|
@ -16,6 +16,9 @@ void Init() {
|
||||||
std::memset(&shared_page, 0, sizeof(shared_page));
|
std::memset(&shared_page, 0, sizeof(shared_page));
|
||||||
|
|
||||||
shared_page.running_hw = 0x1; // product
|
shared_page.running_hw = 0x1; // product
|
||||||
|
|
||||||
|
// Some games wait until this value becomes 0x1, before asking running_hw
|
||||||
|
shared_page.unknown_value = 0x1;
|
||||||
}
|
}
|
||||||
|
|
||||||
} // namespace
|
} // namespace
|
||||||
|
|
|
@ -39,12 +39,14 @@ struct SharedPageDef {
|
||||||
DateTime date_time_0; // 20
|
DateTime date_time_0; // 20
|
||||||
DateTime date_time_1; // 40
|
DateTime date_time_1; // 40
|
||||||
u8 wifi_macaddr[6]; // 60
|
u8 wifi_macaddr[6]; // 60
|
||||||
u8 wifi_unknown1; // 66
|
u8 wifi_link_level; // 66
|
||||||
u8 wifi_unknown2; // 67
|
u8 wifi_unknown2; // 67
|
||||||
INSERT_PADDING_BYTES(0x80 - 0x68); // 68
|
INSERT_PADDING_BYTES(0x80 - 0x68); // 68
|
||||||
float_le sliderstate_3d; // 80
|
float_le sliderstate_3d; // 80
|
||||||
u8 ledstate_3d; // 84
|
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 menu_title_id; // A0
|
||||||
u64_le active_menu_title_id; // A8
|
u64_le active_menu_title_id; // A8
|
||||||
INSERT_PADDING_BYTES(0x1000 - 0xB0); // B0
|
INSERT_PADDING_BYTES(0x1000 - 0xB0); // B0
|
||||||
|
|
Loading…
Reference in a new issue