Fix mixing crackles in the iremga20 driver, improves the game In The Hunt quite a bit

This commit is contained in:
dinkc64 2014-05-10 05:40:24 +00:00
parent 08325a70b4
commit f162c2362e
1 changed files with 2 additions and 2 deletions

View File

@ -145,8 +145,8 @@ void iremga20_update(INT32 device, INT16 *buffer, INT32 length)
nLeftSample = BURN_SND_CLIP(nLeftSample);
nRightSample = BURN_SND_CLIP(nRightSample);
buffer[0] += nLeftSample;
buffer[1] += nRightSample;
buffer[0] = BURN_SND_CLIP(buffer[0] + nLeftSample);
buffer[1] = BURN_SND_CLIP(buffer[1] + nRightSample);
}
/* update the regs now */