mirror of
https://github.com/holub/mame
synced 2025-05-17 03:10:43 +03:00
fix address overflow, happened sometimes with aburner2 (no whatsnew)
This commit is contained in:
parent
0b057f9ef7
commit
bd64bafb9b
@ -75,7 +75,7 @@ static STREAM_UPDATE( SEGAPCM_update )
|
||||
/* apply panning and advance */
|
||||
outputs[0][i] += v * voll;
|
||||
outputs[1][i] += v * volr;
|
||||
addr += delta;
|
||||
addr = (addr + delta) & 0xffffff;
|
||||
}
|
||||
|
||||
/* store back the updated address and info */
|
||||
|
Loading…
Reference in New Issue
Block a user