citra-emu
/
citra
Archived
1
0
Fork 0

shared_page: Remove Get3DSliderstate

This commit is contained in:
N00byKing 2018-04-06 23:36:57 +02:00
parent 594e95084b
commit d27312b816
2 changed files with 1 additions and 7 deletions

View File

@ -85,7 +85,7 @@ void Init() {
CoreTiming::RegisterEvent("SharedPage::UpdateTimeCallback", UpdateTimeCallback); CoreTiming::RegisterEvent("SharedPage::UpdateTimeCallback", UpdateTimeCallback);
CoreTiming::ScheduleEvent(0, update_time_event); CoreTiming::ScheduleEvent(0, update_time_event);
float_le slidestate = float slidestate =
Settings::values.toggle_3d ? (float_le)Settings::values.factor_3d / 100 : 0.0f; Settings::values.toggle_3d ? (float_le)Settings::values.factor_3d / 100 : 0.0f;
shared_page.sliderstate_3d = slidestate; shared_page.sliderstate_3d = slidestate;
} }
@ -102,8 +102,4 @@ void Set3DLed(u8 state) {
shared_page.ledstate_3d = state; shared_page.ledstate_3d = state;
} }
void Set3DSliderState(float_le state) {
shared_page.sliderstate_3d = state;
}
} // namespace SharedPage } // namespace SharedPage

View File

@ -84,6 +84,4 @@ void SetWifiLinkLevel(WifiLinkLevel);
void Set3DLed(u8); void Set3DLed(u8);
void Set3DSliderState(float_le);
} // namespace SharedPage } // namespace SharedPage