560ccbeb2d
* Refactoring commands handling - Use Reflection to handle commands ID. - Add all symbols (from SwIPC so not all time accurate). - Re-sort some services commands methods. - Some cleanup. - Keep some empty constructor for consistency. * Fix order in IProfile
21 lines
No EOL
451 B
C#
21 lines
No EOL
451 B
C#
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 long Open(ServiceCtx context)
|
|
{
|
|
MakeObject(context, new IStorageAccessor(this));
|
|
|
|
return 0;
|
|
}
|
|
}
|
|
} |