mirror of
https://git.naxdy.org/Mirror/Ryujinx.git
synced 2024-11-15 17:45:26 +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;
|
|
}
|
|
}
|
|
} |