diff --git a/src/core/hle/shared_page.cpp b/src/core/hle/shared_page.cpp index 20780c2239..730f0271fc 100644 --- a/src/core/hle/shared_page.cpp +++ b/src/core/hle/shared_page.cpp @@ -85,7 +85,7 @@ void Init() { CoreTiming::RegisterEvent("SharedPage::UpdateTimeCallback", UpdateTimeCallback); CoreTiming::ScheduleEvent(0, update_time_event); - float_le slidestate = + float slidestate = Settings::values.toggle_3d ? (float_le)Settings::values.factor_3d / 100 : 0.0f; shared_page.sliderstate_3d = slidestate; } @@ -102,8 +102,4 @@ void Set3DLed(u8 state) { shared_page.ledstate_3d = state; } -void Set3DSliderState(float_le state) { - shared_page.sliderstate_3d = state; -} - } // namespace SharedPage diff --git a/src/core/hle/shared_page.h b/src/core/hle/shared_page.h index 5ba413a955..4d3f0d4554 100644 --- a/src/core/hle/shared_page.h +++ b/src/core/hle/shared_page.h @@ -84,6 +84,4 @@ void SetWifiLinkLevel(WifiLinkLevel); void Set3DLed(u8); -void Set3DSliderState(float_le); - } // namespace SharedPage