mirror of
https://git.ryujinx.app/kenji-nx/ryujinx.git
synced 2025-12-21 19:37:05 +00:00
Fix games that uses ContextRegistrar (e.g. After the socket blocking issue is fixed, Splatoon 3 and other ModuleSystem games will call this when booting, to create a context for the error, after a connection attempt to the server failed.)
17 lines
501 B
C#
17 lines
501 B
C#
namespace Ryujinx.HLE.HOS.Services.Ectx
|
|
{
|
|
[Service("ectx:aw")] // 11.0.0+
|
|
class IWriterForApplication : IpcService
|
|
{
|
|
public IWriterForApplication(ServiceCtx context) { }
|
|
|
|
[CommandCmif(0)]
|
|
// CreateContextRegistrar() -> object<nn::err::context::IContextRegistrar>
|
|
public ResultCode CreateContextRegistrar(ServiceCtx context)
|
|
{
|
|
MakeObject(context, new IContextRegistrar(context));
|
|
|
|
return ResultCode.Success;
|
|
}
|
|
}
|
|
}
|