0
0
Fork 0
This repository has been archived on 2024-10-12. You can view files and clone it, but cannot push or open issues or pull requests.
ryujinx-final/Ryujinx.HLE/HOS/Services/Am/IStorage.cs

21 lines
474 B
C#
Raw Normal View History

namespace Ryujinx.HLE.HOS.Services.Am
{
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;
}
}
}