Add 3D slider value to the HID shared page (#5676)

* Add 3D slider value to the HID shared page; Fixes MSet

* Use f32
This commit is contained in:
xperia64
2021-01-05 22:01:01 +01:00
committed by GitHub
parent 50eb634583
commit e33677b021
2 changed files with 4 additions and 1 deletions
+1
View File
@@ -224,6 +224,7 @@ void Module::UpdatePadCallback(u64 userdata, s64 cycles_late) {
// TODO(xperia64): How the 3D Slider is updated by the HID module needs to be RE'd
// and possibly moved to its own Core::Timing event.
mem->pad.sliderstate_3d = (Settings::values.factor_3d / 100.0f);
system.Kernel().GetSharedPageHandler().Set3DSlider(Settings::values.factor_3d / 100.0f);
// Reschedule recurrent event