fix build error
hopefully
This commit is contained in:
parent
27e454e7aa
commit
94cb733c60
2 changed files with 15 additions and 9 deletions
|
|
@ -448,7 +448,7 @@ void DivPlatformC140::renderSamples(int sysID) {
|
|||
} else {
|
||||
if (s->depth==DIV_SAMPLE_DEPTH_MULAW) {
|
||||
for (unsigned int i=0; i<length; i++) {
|
||||
sampleMem[i+(memPos/sizeof(short))]=(s->dataMuLaw[i]<<8)^0xff00;
|
||||
sampleMem[i+(memPos/sizeof(short))]=((s->dataMuLaw[i]^0xff)<<8);
|
||||
}
|
||||
} else {
|
||||
memcpy(sampleMem+(memPos/sizeof(short)),s->data16,length);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue