asdfasdf
This commit is contained in:
parent
94cb733c60
commit
06243c9d9d
|
@ -448,7 +448,7 @@ void DivPlatformC140::renderSamples(int sysID) {
|
||||||
} else {
|
} else {
|
||||||
if (s->depth==DIV_SAMPLE_DEPTH_MULAW) {
|
if (s->depth==DIV_SAMPLE_DEPTH_MULAW) {
|
||||||
for (unsigned int i=0; i<length; i++) {
|
for (unsigned int i=0; i<length; i++) {
|
||||||
sampleMem[i+(memPos/sizeof(short))]=((s->dataMuLaw[i]^0xff)<<8);
|
sampleMem[i+(memPos/sizeof(short))]=(s->dataMuLaw[i]<<8);
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
memcpy(sampleMem+(memPos/sizeof(short)),s->data16,length);
|
memcpy(sampleMem+(memPos/sizeof(short)),s->data16,length);
|
||||||
|
|
Loading…
Reference in a new issue