summaryrefslogtreecommitdiffstats
path: root/src/core/hle/shared_page.cpp
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2015-04-28 04:45:43 +0200
committerbunnei <bunneidev@gmail.com>2015-05-02 00:27:05 +0200
commitd3c2f9a4a4c48e4571cd693a0c1801b665819cdf (patch)
tree82d8f104a3098277cf0f311db8e93390a69a0b4a /src/core/hle/shared_page.cpp
parentDyncom: Move cream cache to ARMul_State. (diff)
downloadyuzu-d3c2f9a4a4c48e4571cd693a0c1801b665819cdf.tar
yuzu-d3c2f9a4a4c48e4571cd693a0c1801b665819cdf.tar.gz
yuzu-d3c2f9a4a4c48e4571cd693a0c1801b665819cdf.tar.bz2
yuzu-d3c2f9a4a4c48e4571cd693a0c1801b665819cdf.tar.lz
yuzu-d3c2f9a4a4c48e4571cd693a0c1801b665819cdf.tar.xz
yuzu-d3c2f9a4a4c48e4571cd693a0c1801b665819cdf.tar.zst
yuzu-d3c2f9a4a4c48e4571cd693a0c1801b665819cdf.zip
Diffstat (limited to 'src/core/hle/shared_page.cpp')
-rw-r--r--src/core/hle/shared_page.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/core/hle/shared_page.cpp b/src/core/hle/shared_page.cpp
index 568dad684..94fae2551 100644
--- a/src/core/hle/shared_page.cpp
+++ b/src/core/hle/shared_page.cpp
@@ -62,6 +62,8 @@ template void Read<u16>(u16 &var, const u32 addr);
template void Read<u8>(u8 &var, const u32 addr);
void Set3DSlider(float amount) {
+ memset(&shared_page, 0, sizeof(shared_page));
+
shared_page.sliderstate_3d = amount;
shared_page.ledstate_3d = (amount == 0.0f); // off when non-zero
}
@@ -71,4 +73,7 @@ void Init() {
Set3DSlider(0.0f);
}
+void Shutdown() {
+}
+
} // namespace