aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAc_K <Acoustik666@gmail.com>2018-09-21 06:30:58 +0200
committerGitHub <noreply@github.com>2018-09-21 06:30:58 +0200
commita76660eac58d6f3cc7ad3118edab39e42467909f (patch)
tree9a84537fe4ecb476de8a1cff68c801c903c894c1
parente77c1560e67f3787269ae71c90baac42cdf0c422 (diff)
Fix IHidServer code style
-rw-r--r--Ryujinx.HLE/HOS/Services/Hid/IHidServer.cs8
1 files changed, 4 insertions, 4 deletions
diff --git a/Ryujinx.HLE/HOS/Services/Hid/IHidServer.cs b/Ryujinx.HLE/HOS/Services/Hid/IHidServer.cs
index 0b511072..b42f76fa 100644
--- a/Ryujinx.HLE/HOS/Services/Hid/IHidServer.cs
+++ b/Ryujinx.HLE/HOS/Services/Hid/IHidServer.cs
@@ -1260,7 +1260,7 @@ namespace Ryujinx.HLE.HOS.Services.Hid
{
int Unknown0 = Context.RequestData.ReadInt32();
- Context.ResponseData.Write((byte)0x1); //FullKeyController is always connected ?
+ Context.ResponseData.Write(true); //FullKeyController is always connected ?
Context.Device.Log.PrintStub(LogClass.ServiceHid, $"Stubbed. Unknown0: {Unknown0} - Connected: true");
@@ -1272,7 +1272,7 @@ namespace Ryujinx.HLE.HOS.Services.Hid
{
int NpadId = Context.RequestData.ReadInt32();
- Context.ResponseData.Write((byte)0x1); //Npad always got a battery ?
+ Context.ResponseData.Write(true); //Npad always got a battery ?
Context.Device.Log.PrintStub(LogClass.ServiceHid, $"Stubbed. NpadId: {NpadId} - HasBattery: true");
@@ -1284,8 +1284,8 @@ namespace Ryujinx.HLE.HOS.Services.Hid
{
int NpadId = Context.RequestData.ReadInt32();
- Context.ResponseData.Write((byte)0x1); //Npad always got a left battery ?
- Context.ResponseData.Write((byte)0x1); //Npad always got a right battery ?
+ Context.ResponseData.Write(true); //Npad always got a left battery ?
+ Context.ResponseData.Write(true); //Npad always got a right battery ?
Context.Device.Log.PrintStub(LogClass.ServiceHid, $"Stubbed. NpadId: {NpadId} - HasLeftBattery: true - HasRightBattery: true");