Fix mixing crackles in the iremga20 driver, improves the game In The Hunt quite a bit
This commit is contained in:
parent
08325a70b4
commit
f162c2362e
|
@ -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 */
|
||||
|
|
Loading…
Reference in New Issue