2
1
Fork 0
mirror of https://github.com/yuzu-emu/yuzu.git synced 2024-07-04 23:31:19 +01:00

Merge pull request #12097 from Squall-Leonhart/ResourceToGetResource

service: hid: Ensure resource manager is initialized
This commit is contained in:
Narr the Reg 2023-11-19 20:10:38 -06:00 committed by GitHub
commit 99a8f7fb72
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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