Browse Source

oops

lizzie/bundleevil123
lizzie 2 months ago
parent
commit
5f416b97e5
  1. 2
      src/hid_core/resources/npad/npad.cpp

2
src/hid_core/resources/npad/npad.cpp

@ -185,7 +185,7 @@ void NPad::InitNewlyAddedController(u64 aruid, Core::HID::NpadIdType npad_id) {
auto* shared_memory = controller.shared_memory;
if (!shared_memory) {
LOG_WARNING(Service_HID, "shared_memory is null for npad_id={}", npad_id);
return ResultSuccess;
return;
}
if (controller_type == Core::HID::NpadStyleIndex::None) {
npad_resource.SignalStyleSetUpdateEvent(aruid, npad_id);

Loading…
Cancel
Save