Previous 15994 Revisions Next

r14410 Thursday 9th February, 2012 at 23:44:23 UTC by Barry Rodewald
isa_gus: improved 16-bit PCM (no whatsnew)
[src/mess/machine]isa_gus.c

src/mess/machine/isa_gus.c
r14409r14410
266266                  set_irq(IRQ_WAVETABLE,x);
267267            }
268268            if(m_voice[x].voice_ctrl & 0x20)
269            {  // 16-bit PCM (needs some work)
270               m_voice[x].sample = (INT16)((m_wave_ram[(current & 0xffffe)+1]) | ((m_wave_ram[current & 0xffffe])<<8)>>8);
269            {  // 16-bit PCM
270               m_voice[x].sample = (INT8)((m_wave_ram[(current & 0xffffe)+1]) | ((m_wave_ram[current & 0xffffe])<<8)>>8);
271271            }
272272            else
273273            {  // 8-bit PCM

Previous 15994 Revisions Next


© 1998-2018 The MESS Team