From a76660eac58d6f3cc7ad3118edab39e42467909f Mon Sep 17 00:00:00 2001 From: Ac_K Date: Fri, 21 Sep 2018 06:30:58 +0200 Subject: [PATCH] Fix IHidServer code style --- Ryujinx.HLE/HOS/Services/Hid/IHidServer.cs | 8 ++++---- 1 file 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");