fix address overflow, happened sometimes with aburner2 (no whatsnew)

This commit is contained in:
Michaël Banaan Ananas 2011-01-18 19:30:46 +00:00
parent 0b057f9ef7
commit bd64bafb9b

View File

@ -75,7 +75,7 @@ static STREAM_UPDATE( SEGAPCM_update )
/* apply panning and advance */ /* apply panning and advance */
outputs[0][i] += v * voll; outputs[0][i] += v * voll;
outputs[1][i] += v * volr; outputs[1][i] += v * volr;
addr += delta; addr = (addr + delta) & 0xffffff;
} }
/* store back the updated address and info */ /* store back the updated address and info */