diff --git a/sound/softsynth/fmtowns_pc98/towns_audio.cpp b/sound/softsynth/fmtowns_pc98/towns_audio.cpp index d3484ce5482..b3d37dbcd67 100644 --- a/sound/softsynth/fmtowns_pc98/towns_audio.cpp +++ b/sound/softsynth/fmtowns_pc98/towns_audio.cpp @@ -572,7 +572,7 @@ int TownsAudioInterface::intf_pcmPlayEffect(va_list &args) { TownsAudio_WaveTable w; w.readHeader(data); - if (!w.size < (w.loopStart + w.loopLen)) + if (w.size < (w.loopStart + w.loopLen)) return 13; if (!w.size)