From 402a143ae1d25d9680f999bf0ab0af79add9c320 Mon Sep 17 00:00:00 2001 From: emmauss Date: Sat, 11 Aug 2018 12:24:55 +0000 Subject: [PATCH] fix dock mode style issues --- Ryujinx.HLE/OsHle/Services/Am/ICommonStateGetter.cs | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Ryujinx.HLE/OsHle/Services/Am/ICommonStateGetter.cs b/Ryujinx.HLE/OsHle/Services/Am/ICommonStateGetter.cs index fd9ea40138..0a29b8f3b7 100644 --- a/Ryujinx.HLE/OsHle/Services/Am/ICommonStateGetter.cs +++ b/Ryujinx.HLE/OsHle/Services/Am/ICommonStateGetter.cs @@ -58,7 +58,8 @@ namespace Ryujinx.HLE.OsHle.Services.Am public long GetOperationMode(ServiceCtx Context) { - OperationMode Mode = DockedMode?OperationMode.Docked: OperationMode.Handheld; + OperationMode Mode = DockedMode ? OperationMode.Docked : OperationMode.Handheld; + Context.ResponseData.Write((byte)Mode); return 0; @@ -66,7 +67,8 @@ namespace Ryujinx.HLE.OsHle.Services.Am public long GetPerformanceMode(ServiceCtx Context) { - Apm.PerformanceMode Mode = DockedMode?Apm.PerformanceMode.Docked: Apm.PerformanceMode.Handheld; + Apm.PerformanceMode Mode = DockedMode ? Apm.PerformanceMode.Docked : Apm.PerformanceMode.Handheld; + Context.ResponseData.Write((byte)Mode); return 0;