Procházet zdrojové kódy

Merge pull request #12097 from Squall-Leonhart/ResourceToGetResource

service: hid: Ensure resource manager is initialized
Narr the Reg před 2 roky
rodič
revize
99a8f7fb72
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  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) {