From dc654b8b0f9b4e3d1a9418462f53e8de34321f6f Mon Sep 17 00:00:00 2001 From: arbee Date: Wed, 4 Jul 2018 16:59:04 -0400 Subject: es5503: fixed bad playback of synthLAB sampled-attack looped-sustain instruments [R. Belmont] --- src/devices/sound/es5503.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/devices/sound/es5503.cpp b/src/devices/sound/es5503.cpp index 143e685c91a..f3127b69261 100644 --- a/src/devices/sound/es5503.cpp +++ b/src/devices/sound/es5503.cpp @@ -111,10 +111,9 @@ void es5503_device::halt_osc(int onum, int type, uint32_t *accumulator, int ress *accumulator = altram << resshift; } - int omode = (pPartner->control>>1) & 3; // 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->accumulator = 0; // and make sure it starts from the top (does this also need phase preservation?) -- cgit v1.2.3