mirror of
https://github.com/ryujinx-mirror/ryujinx.git
synced 2024-12-02 11:47:18 +01:00
35 lines
1.0 KiB
C#
35 lines
1.0 KiB
C#
namespace Ryujinx.OsHle.Objects
|
|
{
|
|
class AmISelfController
|
|
{
|
|
public static long SetOperationModeChangedNotification(ServiceCtx Context)
|
|
{
|
|
bool Enable = Context.RequestData.ReadByte() != 0 ? true : false;
|
|
|
|
return 0;
|
|
}
|
|
|
|
public static long SetPerformanceModeChangedNotification(ServiceCtx Context)
|
|
{
|
|
bool Enable = Context.RequestData.ReadByte() != 0 ? true : false;
|
|
|
|
return 0;
|
|
}
|
|
|
|
public static long SetFocusHandlingMode(ServiceCtx Context)
|
|
{
|
|
bool Flag1 = Context.RequestData.ReadByte() != 0 ? true : false;
|
|
bool Flag2 = Context.RequestData.ReadByte() != 0 ? true : false;
|
|
bool Flag3 = Context.RequestData.ReadByte() != 0 ? true : false;
|
|
|
|
return 0;
|
|
}
|
|
|
|
public static long SetOutOfFocusSuspendingEnabled(ServiceCtx Context)
|
|
{
|
|
bool Enable = Context.RequestData.ReadByte() != 0 ? true : false;
|
|
|
|
return 0;
|
|
}
|
|
}
|
|
} |