mirror of
https://github.com/holub/mame
synced 2025-05-21 13:18:56 +03:00
Fixed 04531: f1en: Engine noise loops/resets
This commit is contained in:
parent
18b06709c8
commit
830eefba2a
@ -144,6 +144,9 @@ static DEVICE_START( rf5c68 )
|
|||||||
/* allocate memory for the chip */
|
/* allocate memory for the chip */
|
||||||
rf5c68_state *chip = get_safe_token(device);
|
rf5c68_state *chip = get_safe_token(device);
|
||||||
|
|
||||||
|
/* f1en engine looping fix */
|
||||||
|
memset(chip->data, 0xff, sizeof(chip->data));
|
||||||
|
|
||||||
/* allocate the stream */
|
/* allocate the stream */
|
||||||
chip->stream = device->machine().sound().stream_alloc(*device, 0, 2, device->clock() / 384, chip, rf5c68_update);
|
chip->stream = device->machine().sound().stream_alloc(*device, 0, 2, device->clock() / 384, chip, rf5c68_update);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user