| 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 |
| r14409 | r14410 | |
|---|---|---|
| 266 | 266 | set_irq(IRQ_WAVETABLE,x); |
| 267 | 267 | } |
| 268 | 268 | 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); | |
| 271 | 271 | } |
| 272 | 272 | else |
| 273 | 273 | { // 8-bit PCM |
| Previous | 15994 Revisions | Next |