(branch makes more sense like this)

This commit is contained in:
Michaël Banaan Ananas 2010-05-29 20:12:49 +00:00
parent 5aa040773b
commit 793e60940e
2 changed files with 4 additions and 4 deletions

View File

@ -123,7 +123,7 @@ static STREAM_UPDATE( flower_update_mono )
voice->oneshotplaying = 0; voice->oneshotplaying = 0;
} }
if (voice->oneshotplaying) else
{ {
// *mix++ += ((w[offs] - 0x80) * v) / 16; // *mix++ += ((w[offs] - 0x80) * v) / 16;
*mix++ += sound_rom2[v*256 + w[offs]] - 0x80; *mix++ += sound_rom2[v*256 + w[offs]] - 0x80;

View File

@ -124,7 +124,7 @@ static STREAM_UPDATE( wiping_update_mono )
voice->oneshotplaying = 0; voice->oneshotplaying = 0;
} }
if (voice->oneshotplaying) else
{ {
/* use full byte, first the high 4 bits, then the low 4 bits */ /* use full byte, first the high 4 bits, then the low 4 bits */
if (offs & 1) if (offs & 1)