Previous 15994 Revisions Next

r14506 Saturday 18th February, 2012 at 07:08:08 UTC by Barry Rodewald
isa_gus: Corrected frequency of 16-bit PCM samples. (no whatsnew)
[src/mess/machine]isa_gus.c

src/mess/machine/isa_gus.c
r14505r14506
291291            }
292292            if(m_voice[x].voice_ctrl & 0x04)
293293            {  // 16-bit PCM
294               current = ((m_voice[x].current_addr >> 9) & 0xc0000) + (((m_voice[x].current_addr >> 9) & 0x1ffff) << 1);
294295               m_voice[x].sample = (INT16)((m_wave_ram[current & 0xffffe]) | ((m_wave_ram[(current & 0xffffe)+1])<<8));
295296            }
296297            else

Previous 15994 Revisions Next


© 1998-2018 The MESS Team