Fix a crash at every map load with -nosound: S_ClearOverflow() dereferences known_sfx, which S_Init() only allocates when sound starts. Program received signal SIGSEGV, Segmentation fault. S_ClearOverflow: ldw ret0(r5),r3 (Host_ClearMemory, "Clearing memory") Signed-off-by: René Rebe --- a/common/snd_dma.c +++ b/common/snd_dma.c @@ -280,6 +280,8 @@ void S_ClearOverflow() { S_StopAllSounds(true); + if (!known_sfx) + return; struct known_sfx *known = known_sfx->overflow; while (known) {