summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2016-04-11 22:26:47 +0200
committerbunnei <bunneidev@gmail.com>2016-04-11 22:26:47 +0200
commit38f4c9cce94f0bd3194f50ffe78fe9fee93ea504 (patch)
tree2a74f680bc38331bc1745cde255c4d42e3600a2a
parentMerge pull request #1659 from JayFoxRox/apply-config (diff)
parentSet Kernel config "Unknown Value" to 0x1 (diff)
downloadyuzu-38f4c9cce94f0bd3194f50ffe78fe9fee93ea504.tar
yuzu-38f4c9cce94f0bd3194f50ffe78fe9fee93ea504.tar.gz
yuzu-38f4c9cce94f0bd3194f50ffe78fe9fee93ea504.tar.bz2
yuzu-38f4c9cce94f0bd3194f50ffe78fe9fee93ea504.tar.lz
yuzu-38f4c9cce94f0bd3194f50ffe78fe9fee93ea504.tar.xz
yuzu-38f4c9cce94f0bd3194f50ffe78fe9fee93ea504.tar.zst
yuzu-38f4c9cce94f0bd3194f50ffe78fe9fee93ea504.zip
Diffstat (limited to '')
-rw-r--r--src/core/hle/shared_page.cpp3
-rw-r--r--src/core/hle/shared_page.h6
2 files changed, 7 insertions, 2 deletions
diff --git a/src/core/hle/shared_page.cpp b/src/core/hle/shared_page.cpp
index 50c5bc01b..2a1caeaac 100644
--- a/src/core/hle/shared_page.cpp
+++ b/src/core/hle/shared_page.cpp
@@ -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
diff --git a/src/core/hle/shared_page.h b/src/core/hle/shared_page.h
index 379bb7b63..35a07c685 100644
--- a/src/core/hle/shared_page.h
+++ b/src/core/hle/shared_page.h
@@ -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