mirror of
https://github.com/holub/mame
synced 2025-10-07 09:25:34 +03:00
es5503: fixed bad playback of synthLAB sampled-attack looped-sustain instruments [R. Belmont]
This commit is contained in:
parent
4cd311a25d
commit
dc654b8b0f
@ -111,10 +111,9 @@ void es5503_device::halt_osc(int onum, int type, uint32_t *accumulator, int ress
|
|||||||
|
|
||||||
*accumulator = altram << resshift;
|
*accumulator = altram << resshift;
|
||||||
}
|
}
|
||||||
int omode = (pPartner->control>>1) & 3;
|
|
||||||
|
|
||||||
// if swap mode, start the partner
|
// if swap mode, start the partner
|
||||||
if ((mode == MODE_SWAP) || (omode == MODE_SWAP))
|
if (mode == MODE_SWAP)
|
||||||
{
|
{
|
||||||
pPartner->control &= ~1; // clear the halt bit
|
pPartner->control &= ~1; // clear the halt bit
|
||||||
pPartner->accumulator = 0; // and make sure it starts from the top (does this also need phase preservation?)
|
pPartner->accumulator = 0; // and make sure it starts from the top (does this also need phase preservation?)
|
||||||
|
Loading…
Reference in New Issue
Block a user