Minor fix
This commit is contained in:
parent
f90a97386c
commit
2b536a7a8e
|
@ -255,9 +255,8 @@ audio_talk(Device *d, Uint8 b0, Uint8 w)
|
||||||
if(!w && b0 == 0x2) {
|
if(!w && b0 == 0x2) {
|
||||||
d->dat[0x2] = apu_get_vu(c);
|
d->dat[0x2] = apu_get_vu(c);
|
||||||
}
|
}
|
||||||
if(w && b0 == 0xf) {
|
else if(w && b0 == 0xf) {
|
||||||
SDL_LockAudioDevice(audio_id);
|
SDL_LockAudioDevice(audio_id);
|
||||||
c->period -= (Sint16)mempeek16(d->dat, 0x0);
|
|
||||||
c->len = mempeek16(d->dat, 0xa);
|
c->len = mempeek16(d->dat, 0xa);
|
||||||
c->addr = &d->mem[mempeek16(d->dat, 0xc)];
|
c->addr = &d->mem[mempeek16(d->dat, 0xc)];
|
||||||
c->volume[0] = d->dat[0xe] >> 4;
|
c->volume[0] = d->dat[0xe] >> 4;
|
||||||
|
|
Loading…
Reference in New Issue