make happy renegade pcm on some machines

This commit is contained in:
dinkc64 2014-12-05 21:59:31 +00:00
parent beda5bc410
commit c5164ff91e
1 changed files with 4 additions and 1 deletions

View File

@ -852,7 +852,10 @@ static INT32 DrvSynchroniseStream(INT32 nSoundRate)
static void DrvMSM5205Int()
{
if (!DrvADPCMPlaying) return;
if (!DrvADPCMPlaying) {
MSM5205ResetWrite(0, 1);
return;
}
if (DrvADPCMPos >= DrvADPCMEnd) {
MSM5205ResetWrite(0, 1);