mirror of
https://github.com/ryujinx-mirror/ryujinx.git
synced 2025-01-08 17:48:35 +00:00
fix dock mode style issues
This commit is contained in:
parent
1fd4311e12
commit
402a143ae1
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user