1using System.Collections.ObjectModel;
6public sealed class NdsElfImportResult
13 internal NdsElfImportResult(
16 bool hasOverlaySegments,
17 uint? arm7WramAddress)
20 Overlays =
new ReadOnlyCollection<NdsOverlayDefinition>(overlays);
29 public IReadOnlyList<NdsOverlayDefinition>
Overlays {
get; }
42 ArgumentNullException.ThrowIfNull(builder);
49 default:
throw new InvalidOperationException(
"The imported Program has an unsupported processor identity.");
54 builder.AddOverlay(overlay);
uint? Arm7WramAddress
Identifies the first selected DSi ARM7 WRAM virtual address in 0x03000000..0x037F7FFF.
NdsProgramDefinition Program
Contains cartridge-ready bytes with physical-address gaps initialized to zero and a translated entryp...
IReadOnlyList< NdsOverlayDefinition > Overlays
Contains validated private Overlay records and payloads, or an empty collection when none were reques...
NdsImageBuilder ApplyTo(NdsImageBuilder builder)
Applies the imported Program and every Overlay to a build recipe without hiding recipe mutation.
bool HasOverlaySegments
Reports flagged Overlay segments even when NdsElfImportOptions.ImportOverlays was disabled.
Assembles a deterministic Nintendo DS Image from typed Programs, metadata, Banner,...
Describes one Overlay record and its private Allocation when constructing a new Image.
Supplies one executable payload and the CPU addresses required to place it in a newly built image.
NdsProcessor
Identifies a processor and execution mode.