forked from Mirror/Ryujinx
fix dock mode style issues
This commit is contained in:
parent
1fd4311e12
commit
402a143ae1
1 changed files with 4 additions and 2 deletions
|
@ -59,6 +59,7 @@ namespace Ryujinx.HLE.OsHle.Services.Am
|
||||||
public long GetOperationMode(ServiceCtx Context)
|
public long GetOperationMode(ServiceCtx Context)
|
||||||
{
|
{
|
||||||
OperationMode Mode = DockedMode ? OperationMode.Docked : OperationMode.Handheld;
|
OperationMode Mode = DockedMode ? OperationMode.Docked : OperationMode.Handheld;
|
||||||
|
|
||||||
Context.ResponseData.Write((byte)Mode);
|
Context.ResponseData.Write((byte)Mode);
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
|
@ -67,6 +68,7 @@ namespace Ryujinx.HLE.OsHle.Services.Am
|
||||||
public long GetPerformanceMode(ServiceCtx Context)
|
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);
|
Context.ResponseData.Write((byte)Mode);
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
|
|
Loading…
Reference in a new issue