mirror of
https://github.com/holub/mame
synced 2025-05-18 03:35:03 +03:00
fixed 12bit samples, thanks wouter_
This commit is contained in:
parent
c0852f3ea9
commit
6bdac8977b
@ -384,7 +384,7 @@ static STREAM_UPDATE( ymf278b_pcm_update )
|
|||||||
|
|
||||||
// 12 bit
|
// 12 bit
|
||||||
case 1:
|
case 1:
|
||||||
if (slot->stepptr & 1)
|
if (slot->stepptr & 0x10000)
|
||||||
sample = ymf278b_read_memory(chip, slot->startaddr + (slot->stepptr>>17)*3+2)<<8 |
|
sample = ymf278b_read_memory(chip, slot->startaddr + (slot->stepptr>>17)*3+2)<<8 |
|
||||||
(ymf278b_read_memory(chip, slot->startaddr + (slot->stepptr>>17)*3+1) << 4 & 0xf0);
|
(ymf278b_read_memory(chip, slot->startaddr + (slot->stepptr>>17)*3+1) << 4 & 0xf0);
|
||||||
else
|
else
|
||||||
|
Loading…
Reference in New Issue
Block a user