mirror of
https://github.com/holub/mame
synced 2025-07-01 16:19:38 +03:00
(branch makes more sense like this)
This commit is contained in:
parent
5aa040773b
commit
793e60940e
@ -123,7 +123,7 @@ static STREAM_UPDATE( flower_update_mono )
|
||||
voice->oneshotplaying = 0;
|
||||
}
|
||||
|
||||
if (voice->oneshotplaying)
|
||||
else
|
||||
{
|
||||
// *mix++ += ((w[offs] - 0x80) * v) / 16;
|
||||
*mix++ += sound_rom2[v*256 + w[offs]] - 0x80;
|
||||
@ -211,7 +211,7 @@ DEVICE_GET_INFO( flower_sound )
|
||||
|
||||
/* --- the following bits of info are returned as NULL-terminated strings --- */
|
||||
case DEVINFO_STR_NAME: strcpy(info->s, "Flower Custom"); break;
|
||||
case DEVINFO_STR_SOURCE_FILE: strcpy(info->s, __FILE__); break;
|
||||
case DEVINFO_STR_SOURCE_FILE: strcpy(info->s, __FILE__); break;
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -124,7 +124,7 @@ static STREAM_UPDATE( wiping_update_mono )
|
||||
voice->oneshotplaying = 0;
|
||||
}
|
||||
|
||||
if (voice->oneshotplaying)
|
||||
else
|
||||
{
|
||||
/* use full byte, first the high 4 bits, then the low 4 bits */
|
||||
if (offs & 1)
|
||||
@ -204,7 +204,7 @@ DEVICE_GET_INFO( wiping_sound )
|
||||
|
||||
/* --- the following bits of info are returned as NULL-terminated strings --- */
|
||||
case DEVINFO_STR_NAME: strcpy(info->s, "Wiping Custom"); break;
|
||||
case DEVINFO_STR_SOURCE_FILE: strcpy(info->s, __FILE__); break;
|
||||
case DEVINFO_STR_SOURCE_FILE: strcpy(info->s, __FILE__); break;
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user