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