mirror of
https://git.ryujinx.app/ryubing/ryujinx.git
synced 2026-06-27 14:49:05 +00:00
Enables full trimming for Ryujinx, and in doing so removes many usages of reflection, namely: IUserService no longer uses reflection to find possible service types, and now has a generated switch based on name Ryujinx.HLE.HOS.Tamper no longer uses dynamic to do operations, now using INumber<T> and friends Cmif and Tipc commands in Ryujinx.HLE.HOS.Services no longer get resolved via reflection and are now done via generated virtual methods Fix things broken by trimming (profile panel, DiscordRPC)
22 lines
689 B
C#
22 lines
689 B
C#
using Ryujinx.Common.Logging;
|
|
using Ryujinx.HLE.HOS.Services.Nim.ShopServiceAccessServerInterface.ShopServiceAccessServer;
|
|
|
|
namespace Ryujinx.HLE.HOS.Services.Nim.ShopServiceAccessServerInterface
|
|
{
|
|
partial class IShopServiceAccessServer : IpcService
|
|
{
|
|
public IShopServiceAccessServer() { }
|
|
|
|
[CommandCmif(0)]
|
|
// CreateAccessorInterface(u8) -> object<nn::ec::IShopServiceAccessor>
|
|
public ResultCode CreateAccessorInterface(ServiceCtx context)
|
|
{
|
|
MakeObject(context, new IShopServiceAccessor(context.Device.System));
|
|
|
|
Logger.Stub?.PrintStub(LogClass.ServiceNim);
|
|
|
|
return ResultCode.Success;
|
|
}
|
|
}
|
|
}
|