mirror of
https://github.com/ryujinx-mirror/ryujinx.git
synced 2024-12-27 00:19:41 +00:00
560ccbeb2d
* Refactoring commands handling - Use Reflection to handle commands ID. - Add all symbols (from SwIPC so not all time accurate). - Re-sort some services commands methods. - Some cleanup. - Keep some empty constructor for consistency. * Fix order in IProfile
29 lines
678 B
C#
29 lines
678 B
C#
using Ryujinx.Common.Logging;
|
|
|
|
namespace Ryujinx.HLE.HOS.Services.Am
|
|
{
|
|
class IWindowController : IpcService
|
|
{
|
|
public IWindowController() { }
|
|
|
|
[Command(1)]
|
|
// GetAppletResourceUserId() -> nn::applet::AppletResourceUserId
|
|
public long GetAppletResourceUserId(ServiceCtx context)
|
|
{
|
|
Logger.PrintStub(LogClass.ServiceAm);
|
|
|
|
context.ResponseData.Write(0L);
|
|
|
|
return 0;
|
|
}
|
|
|
|
[Command(10)]
|
|
// AcquireForegroundRights()
|
|
public long AcquireForegroundRights(ServiceCtx context)
|
|
{
|
|
Logger.PrintStub(LogClass.ServiceAm);
|
|
|
|
return 0;
|
|
}
|
|
}
|
|
} |