1
0
Fork 0
mirror of https://github.com/Ryujinx/Ryujinx.git synced 2024-12-11 20:32:01 +00:00
Ryujinx/Ryujinx.HLE/HOS/Services/Am/AppletAE/IStorage.cs

21 lines
483 B
C#
Raw Normal View History

namespace Ryujinx.HLE.HOS.Services.Am.AppletAE
{
class IStorage : IpcService
{
public byte[] Data { get; private set; }
public IStorage(byte[] data)
{
Data = data;
}
[Command(0)]
// Open() -> object<nn::am::service::IStorageAccessor>
public ResultCode Open(ServiceCtx context)
{
MakeObject(context, new IStorageAccessor(this));
return ResultCode.Success;
}
}
}