diff options
author | bunnei <bunneidev@gmail.com> | 2015-05-02 01:05:18 +0200 |
---|---|---|
committer | bunnei <bunneidev@gmail.com> | 2015-05-02 01:05:18 +0200 |
commit | 6a2d8c46f21e8813e0472dba28932ed461ce1a66 (patch) | |
tree | d7057cf9926c822c12cc7d82814a252db79ca600 /src/core/hle/shared_page.cpp | |
parent | Merge pull request #717 from linkmauve/useless-auto (diff) | |
parent | Qt: Shutdown game on emulator close event. (diff) | |
download | yuzu-6a2d8c46f21e8813e0472dba28932ed461ce1a66.tar yuzu-6a2d8c46f21e8813e0472dba28932ed461ce1a66.tar.gz yuzu-6a2d8c46f21e8813e0472dba28932ed461ce1a66.tar.bz2 yuzu-6a2d8c46f21e8813e0472dba28932ed461ce1a66.tar.lz yuzu-6a2d8c46f21e8813e0472dba28932ed461ce1a66.tar.xz yuzu-6a2d8c46f21e8813e0472dba28932ed461ce1a66.tar.zst yuzu-6a2d8c46f21e8813e0472dba28932ed461ce1a66.zip |
Diffstat (limited to 'src/core/hle/shared_page.cpp')
-rw-r--r-- | src/core/hle/shared_page.cpp | 5 |
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 |