this can be null
This commit is contained in:
parent
f94bcb64b1
commit
79d6bee75f
|
@ -31,7 +31,7 @@ namespace BizHawk.Client.EmuHawk
|
|||
|
||||
private void PlaySound(Stream wavFile)
|
||||
{
|
||||
if (EnableSoundEffects)
|
||||
if (EnableSoundEffects && wavFile != null)
|
||||
{
|
||||
wavFile.Position = 0;
|
||||
_playWavFileCallback(wavFile);
|
||||
|
|
Loading…
Reference in New Issue