NdsForge.NET 1.0.1
Read, validate, edit, compare, and build Nintendo DS and DSi images from .NET
Loading...
Searching...
No Matches
NdsElfModel.cs
1namespace NdsForge;
2
6internal sealed record NdsElfFile(uint EntryPoint, IReadOnlyList<NdsElfSegment> Segments);
7
17internal sealed record NdsElfSegment(
18 uint Type,
19 uint FileOffset,
20 uint VirtualAddress,
21 uint PhysicalAddress,
22 uint FileSize,
23 uint MemorySize,
24 uint Flags,
25 uint Alignment)
26{
28 public bool IsLoadable => Type == 1;
29
31 public bool IsOverlay => (Flags & 0x0020_0000) != 0;
32
34 public bool IsTwl => (Flags & 0x0010_0000) != 0;
35}