summaryrefslogtreecommitdiffstats
path: root/src/core
diff options
context:
space:
mode:
authormailwl <mailwl@gmail.com>2016-03-29 21:29:57 +0200
committermailwl <mailwl@gmail.com>2016-04-11 12:47:52 +0200
commitdf0a81621f3c544709ec0f472c3f3c4172b80c92 (patch)
tree316f3dc54d3afe58a2f0ba853d8dc1e1bb9287b2 /src/core
parentMerge pull request #1657 from JayFoxRox/remove-dump-geometry (diff)
downloadyuzu-df0a81621f3c544709ec0f472c3f3c4172b80c92.tar
yuzu-df0a81621f3c544709ec0f472c3f3c4172b80c92.tar.gz
yuzu-df0a81621f3c544709ec0f472c3f3c4172b80c92.tar.bz2
yuzu-df0a81621f3c544709ec0f472c3f3c4172b80c92.tar.lz
yuzu-df0a81621f3c544709ec0f472c3f3c4172b80c92.tar.xz
yuzu-df0a81621f3c544709ec0f472c3f3c4172b80c92.tar.zst
yuzu-df0a81621f3c544709ec0f472c3f3c4172b80c92.zip
Diffstat (limited to 'src/core')
-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