2018-02-04 23:08:20 +00:00
|
|
|
using System.Collections.ObjectModel;
|
|
|
|
|
2018-02-20 20:09:23 +00:00
|
|
|
namespace Ryujinx.Core.Loaders.Executables
|
2018-02-04 23:08:20 +00:00
|
|
|
{
|
2018-02-22 00:51:17 +00:00
|
|
|
public enum Extensions
|
|
|
|
{
|
|
|
|
NRO,
|
|
|
|
NSO
|
|
|
|
}
|
|
|
|
|
2018-02-20 20:09:23 +00:00
|
|
|
public interface IExecutable
|
2018-02-04 23:08:20 +00:00
|
|
|
{
|
|
|
|
ReadOnlyCollection<byte> Text { get; }
|
|
|
|
ReadOnlyCollection<byte> RO { get; }
|
|
|
|
ReadOnlyCollection<byte> Data { get; }
|
|
|
|
|
|
|
|
int Mod0Offset { get; }
|
|
|
|
int TextOffset { get; }
|
|
|
|
int ROOffset { get; }
|
|
|
|
int DataOffset { get; }
|
|
|
|
int BssSize { get; }
|
2018-02-22 00:51:17 +00:00
|
|
|
|
|
|
|
Extensions Extension { get; }
|
2018-02-04 23:08:20 +00:00
|
|
|
}
|
|
|
|
}
|