public void AddTemporaryLabel(int snesAddress, Label label) { if (NormalProvider.GetLabel(snesAddress) == null && TemporaryProvider.GetLabel(snesAddress) == null) { TemporaryProvider.AddLabel(snesAddress, label); } }
public override Label GetLabel(int snesAddress) { var normalExisting = NormalProvider.GetLabel(snesAddress); return(normalExisting ?? TemporaryProvider.GetLabel(snesAddress)); }