Kaynağa Gözat

Merge pull request #12097 from Squall-Leonhart/ResourceToGetResource

service: hid: Ensure resource manager is initialized
Narr the Reg 2 yıl önce
ebeveyn
işleme
99a8f7fb72
1 değiştirilmiş dosya ile 1 ekleme ve 1 silme
  1. 1 1
      src/core/hle/service/hid/hid_server.cpp

+ 1 - 1
src/core/hle/service/hid/hid_server.cpp

@@ -1563,7 +1563,7 @@ void IHidServer::CreateActiveVibrationDeviceList(HLERequestContext& ctx) {
 
     IPC::ResponseBuilder rb{ctx, 2, 0, 1};
     rb.Push(ResultSuccess);
-    rb.PushIpcInterface<IActiveVibrationDeviceList>(system, resource_manager);
+    rb.PushIpcInterface<IActiveVibrationDeviceList>(system, GetResourceManager());
 }
 
 void IHidServer::PermitVibration(HLERequestContext& ctx) {