diff --git a/src/Ryujinx.Horizon/Am/Ipc/Proxies/ApplicationProxy.cs b/src/Ryujinx.Horizon/Am/Ipc/Proxies/ApplicationProxy.cs index eae76592f..3ad0efafd 100644 --- a/src/Ryujinx.Horizon/Am/Ipc/Proxies/ApplicationProxy.cs +++ b/src/Ryujinx.Horizon/Am/Ipc/Proxies/ApplicationProxy.cs @@ -49,27 +49,35 @@ namespace Ryujinx.Horizon.Am.Ipc.Proxies } [CmifCommand(10)] - public Result GetProcessWindingController() + public Result GetProcessWindingController(out IProcessWindingController processWindingController) { - throw new System.NotImplementedException(); + processWindingController = new ProcessWindingController(); + + return Result.Success; } [CmifCommand(11)] - public Result GetLibraryAppletCreator() + public Result GetLibraryAppletCreator(out ILibraryAppletCreator libraryAppletCreator) { - throw new System.NotImplementedException(); + libraryAppletCreator = new LibraryAppletCreator(); + + return Result.Success; } [CmifCommand(20)] - public Result GetApplicationFunctions() + public Result GetApplicationFunctions(out IApplicationFunctions applicationFunctions) { - throw new System.NotImplementedException(); + applicationFunctions = new ApplicationFunctions(); + + return Result.Success; } [CmifCommand(1000)] - public Result GetDebugFunctions() + public Result GetDebugFunctions(out IDebugFunctions debugFunctions) { - throw new System.NotImplementedException(); + debugFunctions = new DebugFunctions(); + + return Result.Success; } } } diff --git a/src/Ryujinx.Horizon/Am/Ipc/Proxies/LibraryAppletProxy.cs b/src/Ryujinx.Horizon/Am/Ipc/Proxies/LibraryAppletProxy.cs index 8bbdb8a39..b0188e3d8 100644 --- a/src/Ryujinx.Horizon/Am/Ipc/Proxies/LibraryAppletProxy.cs +++ b/src/Ryujinx.Horizon/Am/Ipc/Proxies/LibraryAppletProxy.cs @@ -49,15 +49,19 @@ namespace Ryujinx.Horizon.Am.Ipc.Proxies } [CmifCommand(10)] - public Result GetProcessWindingController() + public Result GetProcessWindingController(out IProcessWindingController processWindingController) { - throw new System.NotImplementedException(); + processWindingController = new ProcessWindingController(); + + return Result.Success; } [CmifCommand(11)] - public Result GetLibraryAppletCreator() + public Result GetLibraryAppletCreator(out ILibraryAppletCreator libraryAppletCreator) { - throw new System.NotImplementedException(); + libraryAppletCreator = new LibraryAppletCreator(); + + return Result.Success; } [CmifCommand(20)] @@ -67,9 +71,11 @@ namespace Ryujinx.Horizon.Am.Ipc.Proxies } [CmifCommand(21)] - public Result GetAppletCommonFunctions() + public Result GetAppletCommonFunctions(out IAppletCommonFunctions appletCommonFunctions) { - throw new System.NotImplementedException(); + appletCommonFunctions = new AppletCommonFunctions(); + + return Result.Success; } [CmifCommand(22)] @@ -85,9 +91,11 @@ namespace Ryujinx.Horizon.Am.Ipc.Proxies } [CmifCommand(1000)] - public Result GetDebugFunctions() + public Result GetDebugFunctions(out IDebugFunctions debugFunctions) { - throw new System.NotImplementedException(); + debugFunctions = new DebugFunctions(); + + return Result.Success; } } } diff --git a/src/Ryujinx.Horizon/Am/Ipc/Proxies/OverlayAppletProxy.cs b/src/Ryujinx.Horizon/Am/Ipc/Proxies/OverlayAppletProxy.cs index b0d05c253..d47d42a82 100644 --- a/src/Ryujinx.Horizon/Am/Ipc/Proxies/OverlayAppletProxy.cs +++ b/src/Ryujinx.Horizon/Am/Ipc/Proxies/OverlayAppletProxy.cs @@ -49,27 +49,36 @@ namespace Ryujinx.Horizon.Am.Ipc.Proxies } [CmifCommand(10)] - public Result GetProcessWindingController() + public Result GetProcessWindingController(out IProcessWindingController processWindingController) { + processWindingController = new ProcessWindingController(); + + return Result.Success; throw new System.NotImplementedException(); } [CmifCommand(11)] - public Result GetLibraryAppletCreator() + public Result GetLibraryAppletCreator(out ILibraryAppletCreator libraryAppletCreator) { - throw new System.NotImplementedException(); + libraryAppletCreator = new LibraryAppletCreator(); + + return Result.Success; } [CmifCommand(20)] - public Result GetOverlayFunctions() + public Result GetOverlayFunctions(out IOverlayFunctions overlayFunctions) { - throw new System.NotImplementedException(); + overlayFunctions = new OverlayFunctions(); + + return Result.Success; } [CmifCommand(21)] - public Result GetAppletCommonFunctions() + public Result GetAppletCommonFunctions(out IAppletCommonFunctions appletCommonFunctions) { - throw new System.NotImplementedException(); + appletCommonFunctions = new AppletCommonFunctions(); + + return Result.Success; } [CmifCommand(23)] @@ -79,9 +88,11 @@ namespace Ryujinx.Horizon.Am.Ipc.Proxies } [CmifCommand(1000)] - public Result GetDebugFunctions() + public Result GetDebugFunctions(out IDebugFunctions debugFunctions) { - throw new System.NotImplementedException(); + debugFunctions = new DebugFunctions(); + + return Result.Success; } } } diff --git a/src/Ryujinx.Horizon/Am/Ipc/Proxies/SystemAppletProxy.cs b/src/Ryujinx.Horizon/Am/Ipc/Proxies/SystemAppletProxy.cs index 1175402bd..7b5ff9233 100644 --- a/src/Ryujinx.Horizon/Am/Ipc/Proxies/SystemAppletProxy.cs +++ b/src/Ryujinx.Horizon/Am/Ipc/Proxies/SystemAppletProxy.cs @@ -49,15 +49,19 @@ namespace Ryujinx.Horizon.Am.Ipc.Proxies } [CmifCommand(10)] - public Result GetProcessWindingController() + public Result GetProcessWindingController(out IProcessWindingController processWindingController) { - throw new System.NotImplementedException(); + processWindingController = new ProcessWindingController(); + + return Result.Success; } [CmifCommand(11)] - public Result GetLibraryAppletCreator() + public Result GetLibraryAppletCreator(out ILibraryAppletCreator libraryAppletCreator) { - throw new System.NotImplementedException(); + libraryAppletCreator = new LibraryAppletCreator(); + + return Result.Success; } [CmifCommand(20)] @@ -79,15 +83,19 @@ namespace Ryujinx.Horizon.Am.Ipc.Proxies } [CmifCommand(23)] - public Result GetAppletCommonFunctions() + public Result GetAppletCommonFunctions(out IAppletCommonFunctions appletCommonFunctions) { - throw new System.NotImplementedException(); + appletCommonFunctions = new AppletCommonFunctions(); + + return Result.Success; } [CmifCommand(1000)] - public Result GetDebugFunctions() + public Result GetDebugFunctions(out IDebugFunctions debugFunctions) { - throw new System.NotImplementedException(); + debugFunctions = new DebugFunctions(); + + return Result.Success; } } } diff --git a/src/Ryujinx.Horizon/Sdk/Am/Proxies/IApplicationProxy.cs b/src/Ryujinx.Horizon/Sdk/Am/Proxies/IApplicationProxy.cs index 20ad7c2f4..6cadff937 100644 --- a/src/Ryujinx.Horizon/Sdk/Am/Proxies/IApplicationProxy.cs +++ b/src/Ryujinx.Horizon/Sdk/Am/Proxies/IApplicationProxy.cs @@ -10,9 +10,9 @@ namespace Ryujinx.Horizon.Sdk.Am.Proxies Result GetWindowController(out IWindowController windowController); Result GetAudioController(out IAudioController audioController); Result GetDisplayController(out IDisplayController displayController); - Result GetProcessWindingController(); - Result GetLibraryAppletCreator(); - Result GetApplicationFunctions(); - Result GetDebugFunctions(); + Result GetProcessWindingController(out IProcessWindingController processWindingController); + Result GetLibraryAppletCreator(out ILibraryAppletCreator libraryAppletCreator); + Result GetApplicationFunctions(out IApplicationFunctions applicationFunctions); + Result GetDebugFunctions(out IDebugFunctions debugFunctions); } } diff --git a/src/Ryujinx.Horizon/Sdk/Am/Proxies/ILibraryAppletProxy.cs b/src/Ryujinx.Horizon/Sdk/Am/Proxies/ILibraryAppletProxy.cs index 5ca620569..7c6204926 100644 --- a/src/Ryujinx.Horizon/Sdk/Am/Proxies/ILibraryAppletProxy.cs +++ b/src/Ryujinx.Horizon/Sdk/Am/Proxies/ILibraryAppletProxy.cs @@ -10,12 +10,12 @@ namespace Ryujinx.Horizon.Sdk.Am.Proxies Result GetWindowController(out IWindowController windowController); Result GetAudioController(out IAudioController audioController); Result GetDisplayController(out IDisplayController displayController); - Result GetProcessWindingController(); - Result GetLibraryAppletCreator(); + Result GetProcessWindingController(out IProcessWindingController processWindingController); + Result GetLibraryAppletCreator(out ILibraryAppletCreator libraryAppletCreator); Result OpenLibraryAppletSelfAccessor(); - Result GetAppletCommonFunctions(); + Result GetAppletCommonFunctions(out IAppletCommonFunctions appletCommonFunctions); Result GetHomeMenuFunctions(); Result GetGlobalStateController(); - Result GetDebugFunctions(); + Result GetDebugFunctions(out IDebugFunctions debugFunctions); } } diff --git a/src/Ryujinx.Horizon/Sdk/Am/Proxies/IOverlayAppletProxy.cs b/src/Ryujinx.Horizon/Sdk/Am/Proxies/IOverlayAppletProxy.cs index 5b46d1966..50d9a9b82 100644 --- a/src/Ryujinx.Horizon/Sdk/Am/Proxies/IOverlayAppletProxy.cs +++ b/src/Ryujinx.Horizon/Sdk/Am/Proxies/IOverlayAppletProxy.cs @@ -10,11 +10,11 @@ namespace Ryujinx.Horizon.Sdk.Am.Proxies Result GetWindowController(out IWindowController windowController); Result GetAudioController(out IAudioController audioController); Result GetDisplayController(out IDisplayController displayController); - Result GetProcessWindingController(); - Result GetLibraryAppletCreator(); - Result GetOverlayFunctions(); - Result GetAppletCommonFunctions(); + Result GetProcessWindingController(out IProcessWindingController processWindingController); + Result GetLibraryAppletCreator(out ILibraryAppletCreator libraryAppletCreator); + Result GetOverlayFunctions(out IOverlayFunctions overlayFunctions); + Result GetAppletCommonFunctions(out IAppletCommonFunctions appletCommonFunctions); Result GetGlobalStateController(); - Result GetDebugFunctions(); + Result GetDebugFunctions(out IDebugFunctions debugFunctions); } } diff --git a/src/Ryujinx.Horizon/Sdk/Am/Proxies/ISystemAppletProxy.cs b/src/Ryujinx.Horizon/Sdk/Am/Proxies/ISystemAppletProxy.cs index 5e2952959..c6ffd54b5 100644 --- a/src/Ryujinx.Horizon/Sdk/Am/Proxies/ISystemAppletProxy.cs +++ b/src/Ryujinx.Horizon/Sdk/Am/Proxies/ISystemAppletProxy.cs @@ -10,12 +10,12 @@ namespace Ryujinx.Horizon.Sdk.Am.Proxies Result GetWindowController(out IWindowController windowController); Result GetAudioController(out IAudioController audioController); Result GetDisplayController(out IDisplayController displayController); - Result GetProcessWindingController(); - Result GetLibraryAppletCreator(); + Result GetProcessWindingController(out IProcessWindingController processWindingController); + Result GetLibraryAppletCreator(out ILibraryAppletCreator libraryAppletCreator); Result GetHomeMenuFunctions(); Result GetGlobalStateController(); Result GetApplicationCreator(); - Result GetAppletCommonFunctions(); - Result GetDebugFunctions(); + Result GetAppletCommonFunctions(out IAppletCommonFunctions commonFunctions); + Result GetDebugFunctions(out IDebugFunctions debugFunctions); } }