Previous 15994 Revisions Next

r14496 Friday 17th February, 2012 at 11:59:26 UTC by Barry Rodewald
isa_gus: Fix stupid error regarding 16-bit PCM. (no whatsnew)
[src/mess/machine]isa_gus.c

src/mess/machine/isa_gus.c
r14495r14496
289289               if(m_voice[x].voice_ctrl & 0x20)
290290                  set_irq(IRQ_WAVETABLE,x);
291291            }
292            if(m_voice[x].voice_ctrl & 0x20)
292            if(m_voice[x].voice_ctrl & 0x04)
293293            {  // 16-bit PCM
294294               m_voice[x].sample = (INT16)((m_wave_ram[current & 0xffffe]) | ((m_wave_ram[(current & 0xffffe)+1])<<8));
295295            }

Previous 15994 Revisions Next


© 1998-2018 The MESS Team