mirror of
https://git.ryujinx.app/ryubing/ryujinx.git
synced 2026-07-12 05:54:17 +00:00
Move solution and projects to src
This commit is contained in:
23
src/Ryujinx.HLE/HOS/Services/Am/AppletAE/IStorage.cs
Normal file
23
src/Ryujinx.HLE/HOS/Services/Am/AppletAE/IStorage.cs
Normal file
@@ -0,0 +1,23 @@
|
||||
namespace Ryujinx.HLE.HOS.Services.Am.AppletAE
|
||||
{
|
||||
class IStorage : IpcService
|
||||
{
|
||||
public bool IsReadOnly { get; private set; }
|
||||
public byte[] Data { get; private set; }
|
||||
|
||||
public IStorage(byte[] data, bool isReadOnly = false)
|
||||
{
|
||||
IsReadOnly = isReadOnly;
|
||||
Data = data;
|
||||
}
|
||||
|
||||
[CommandCmif(0)]
|
||||
// Open() -> object<nn::am::service::IStorageAccessor>
|
||||
public ResultCode Open(ServiceCtx context)
|
||||
{
|
||||
MakeObject(context, new IStorageAccessor(this));
|
||||
|
||||
return ResultCode.Success;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user