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
1 changed files with 2 additions and 2 deletions
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Reference in a new issue