fix DockedMode variable

delete unneeded spaces

fix DockedMode variable

fix DockedMode variable

change PerformanceMode cast to int
align ICommonStateGetter Commands
This commit is contained in:
Unknown 2018-08-11 15:31:34 +02:00
parent 4736a6b940
commit 2d4eb9601f
2 changed files with 10 additions and 10 deletions

View File

@ -69,7 +69,7 @@ namespace Ryujinx.HLE.OsHle.Services.Am
{
Apm.PerformanceMode Mode = DockedMode ? Apm.PerformanceMode.Docked : Apm.PerformanceMode.Handheld;
Context.ResponseData.Write((byte)Mode);
Context.ResponseData.Write((int)Mode);
return 0;
}

View File

@ -37,7 +37,7 @@ namespace Ryujinx.HLE.OsHle
internal string ActiveAudioOutput { get; private set; }
public bool DockedMode { get; set; }
public static bool DockedMode { get; set; }
public SystemStateMgr()
{