Просмотр исходного кода

Merge pull request #12097 from Squall-Leonhart/ResourceToGetResource

service: hid: Ensure resource manager is initialized
Narr the Reg 2 лет назад
Родитель
Сommit
99a8f7fb72
1 измененных файлов с 1 добавлено и 1 удалено
  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) {