From 81f4cef2010012ab2f3738cac059fe6dc579f317 Mon Sep 17 00:00:00 2001 From: xperia64 Date: Thu, 17 Jan 2019 23:33:24 -0500 Subject: [PATCH] Revert "Change 3D slider in-game" This reverts commit bb9a972e35c2b9055cbd7cdad8ec725b76296d0e. Needs to be completely redone in the HID HLE service module. --- src/core/hle/kernel/shared_page.cpp | 4 ---- src/core/hle/kernel/shared_page.h | 2 -- src/core/settings.cpp | 6 ------ 3 files changed, 12 deletions(-) diff --git a/src/core/hle/kernel/shared_page.cpp b/src/core/hle/kernel/shared_page.cpp index f5cac7187d..e2af01e0d3 100644 --- a/src/core/hle/kernel/shared_page.cpp +++ b/src/core/hle/kernel/shared_page.cpp @@ -121,10 +121,6 @@ void Handler::Set3DLed(u8 state) { shared_page.ledstate_3d = state; } -void Handler::Set3DSlider(float slidestate) { - shared_page.sliderstate_3d = slidestate; -} - SharedPageDef& Handler::GetSharedPage() { return shared_page; } diff --git a/src/core/hle/kernel/shared_page.h b/src/core/hle/kernel/shared_page.h index f066befc45..7b6dc2e065 100644 --- a/src/core/hle/kernel/shared_page.h +++ b/src/core/hle/kernel/shared_page.h @@ -91,8 +91,6 @@ public: void Set3DLed(u8); - void Set3DSlider(float); - SharedPageDef& GetSharedPage(); private: diff --git a/src/core/settings.cpp b/src/core/settings.cpp index 3dd4a0226c..2141d57bd0 100644 --- a/src/core/settings.cpp +++ b/src/core/settings.cpp @@ -5,7 +5,6 @@ #include "audio_core/dsp_interface.h" #include "core/core.h" #include "core/gdbstub/gdbstub.h" -#include "core/hle/kernel/shared_page.h" #include "core/hle/service/hid/hid.h" #include "core/hle/service/ir/ir_rst.h" #include "core/hle/service/ir/ir_user.h" @@ -56,11 +55,6 @@ void Apply() { if (cam) { cam->ReloadCameraDevices(); } - - system.Kernel().GetSharedPageHandler().Set3DSlider( - (Settings::values.render_3d != Settings::StereoRenderOption::Off) - ? (float_le)Settings::values.factor_3d / 100 - : 0.0f); } }