mirror of
https://github.com/ryujinx-mirror/ryujinx.git
synced 2024-12-23 14:54:00 +00:00
Set _vibrationPermitted to True by default (#2985)
Co-authored-by: SpookyBee123 <82302189+SpookyBee123@users.noreply.github.com>
This commit is contained in:
parent
42c75dbb8f
commit
4910b214f5
@ -55,6 +55,8 @@ namespace Ryujinx.HLE.HOS.Services.Hid
|
|||||||
|
|
||||||
// TODO: signal event at right place
|
// TODO: signal event at right place
|
||||||
_xpadIdEvent.ReadableEvent.Signal();
|
_xpadIdEvent.ReadableEvent.Signal();
|
||||||
|
|
||||||
|
_vibrationPermitted = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
[CommandHipc(0)]
|
[CommandHipc(0)]
|
||||||
@ -1141,8 +1143,6 @@ namespace Ryujinx.HLE.HOS.Services.Hid
|
|||||||
{
|
{
|
||||||
context.ResponseData.Write(_vibrationPermitted);
|
context.ResponseData.Write(_vibrationPermitted);
|
||||||
|
|
||||||
Logger.Stub?.PrintStub(LogClass.ServiceHid, new { _vibrationPermitted });
|
|
||||||
|
|
||||||
return ResultCode.Success;
|
return ResultCode.Success;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user