Fixed missing update function in Adlib Gold - stops looping samples when sample playback is disabled.
This commit is contained in:
parent
3030325bd2
commit
10739b9618
1 changed files with 2 additions and 0 deletions
|
|
@ -659,6 +659,8 @@ static void adgold_get_buffer(int16_t *buffer, int len, void *p)
|
|||
int c;
|
||||
|
||||
opl3_update2(&adgold->opl);
|
||||
adgold_update(adgold);
|
||||
|
||||
for (c = 0; c < len * 2; c += 2)
|
||||
{
|
||||
adgold_buffer[c] = ((adgold->opl.buffer[c] * adgold->fm_vol_l) >> 7) / 2;
|
||||
|
|
|
|||
Loading…
Reference in a new issue