0
0
Fork 0

Set _vibrationPermitted to True by default (#2985)

Co-authored-by: SpookyBee123 <82302189+SpookyBee123@users.noreply.github.com>
This commit is contained in:
Mary 2022-01-23 12:24:55 +01:00 committed by GitHub
parent 42c75dbb8f
commit 4910b214f5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -55,6 +55,8 @@ namespace Ryujinx.HLE.HOS.Services.Hid
// TODO: signal event at right place
_xpadIdEvent.ReadableEvent.Signal();
_vibrationPermitted = true;
}
[CommandHipc(0)]
@ -1141,8 +1143,6 @@ namespace Ryujinx.HLE.HOS.Services.Hid
{
context.ResponseData.Write(_vibrationPermitted);
Logger.Stub?.PrintStub(LogClass.ServiceHid, new { _vibrationPermitted });
return ResultCode.Success;
}