mirror of
https://git.naxdy.org/Mirror/Ryujinx.git
synced 2024-11-15 09:35:27 +00:00
Merge pull request #344 from greggameplayer/patch-1
fix toggleable variable in config to set the docked mode
This commit is contained in:
commit
c05600a26b
|
@ -69,7 +69,7 @@ namespace Ryujinx.HLE.OsHle.Services.Am
|
||||||
{
|
{
|
||||||
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((int)Mode);
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
|
@ -37,7 +37,7 @@ namespace Ryujinx.HLE.OsHle
|
||||||
|
|
||||||
internal string ActiveAudioOutput { get; private set; }
|
internal string ActiveAudioOutput { get; private set; }
|
||||||
|
|
||||||
public bool DockedMode { get; set; }
|
public static bool DockedMode { get; set; }
|
||||||
|
|
||||||
public SystemStateMgr()
|
public SystemStateMgr()
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue