Skip to content
Snippets Groups Projects
Commit 5cd3b6f5 authored by Narr the Reg's avatar Narr the Reg
Browse files

service: hid: Fix crash on InitializeVibrationDevice

parent bedc758f
No related branches found
No related tags found
No related merge requests found
......@@ -51,7 +51,7 @@ private:
IPC::RequestParser rp{ctx};
const auto vibration_device_handle{rp.PopRaw<Core::HID::VibrationDeviceHandle>()};
if (resource_manager != nullptr) {
if (resource_manager != nullptr && resource_manager->GetNpad()) {
resource_manager->GetNpad()->InitializeVibrationDevice(vibration_device_handle);
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment