2018-02-05 00:08:20 +01:00
|
|
|
using System.Collections.ObjectModel;
|
|
|
|
|
2018-02-20 21:09:23 +01:00
|
|
|
namespace Ryujinx.Core.Loaders.Executables
|
2018-02-05 00:08:20 +01:00
|
|
|
{
|
2018-02-22 01:51:17 +01:00
|
|
|
public enum Extensions
|
|
|
|
{
|
|
|
|
NRO,
|
|
|
|
NSO
|
|
|
|
}
|
|
|
|
|
2018-02-20 21:09:23 +01:00
|
|
|
public interface IExecutable
|
2018-02-05 00:08:20 +01: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 01:51:17 +01:00
|
|
|
|
|
|
|
Extensions Extension { get; }
|
2018-02-05 00:08:20 +01:00
|
|
|
}
|
|
|
|
}
|