mirror of
https://git.eden-emu.dev/eden-emu/eden.git
synced 2025-07-20 17:35:46 +00:00
service: hid: Ensure resource manager is initialized
Ensures the proper initialization of the IActiveVibrationDeviceList. By using GetResourceManager() instead of resource_manager, we make sure that the IActiveVibrationDeviceListis initialized before it's used, preventing potential null issues. Fixes #12088
This commit is contained in:
parent
da57f07bce
commit
a1ca92a79a
1 changed files with 1 additions and 1 deletions
|
@ -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) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue