Music/module player written in C# that can play old modules from the Amiga and PC days. You can download modules from my home page.
37
stars
4
forks
source link
NostalgicPlayerConsole throws System.NullReferenceException #35
Closed
mnerec closed 1 year ago
In
Polycode.NostalgicPlayer.PlayerLibrary.Mixer.MixerVisualize.QueueChannelChange()
enabledChannels is dereferenced without checking fornull
.Changing
Enabled = i < enabledChannels.Length ? enabledChannels[i] : true
toEnabled = (enabledChannels != null && i < enabledChannels.Length) ? enabledChannels[i] : true
fixes the issue.It might only be for some formats. Reproduced with PT and JamCracker mods.