diff --git a/rpcs3/Input/evdev_joystick_handler.cpp b/rpcs3/Input/evdev_joystick_handler.cpp index fecd067238..81c8b89a86 100644 --- a/rpcs3/Input/evdev_joystick_handler.cpp +++ b/rpcs3/Input/evdev_joystick_handler.cpp @@ -517,7 +517,7 @@ void evdev_joystick_handler::SetPadData(const std::string& padId, u32 largeMotor return; } - SetRumble(dev, largeMotor, smallMotor); + SetRumble(static_cast(dev.get()), largeMotor, smallMotor); } int evdev_joystick_handler::GetButtonInfo(const input_event& evt, const std::shared_ptr& device, int& value)