diff options
Diffstat (limited to 'src/emu/sound/cdda.c')
-rw-r--r-- | src/emu/sound/cdda.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/emu/sound/cdda.c b/src/emu/sound/cdda.c index 20ba3ec46a4..7c99a6aa766 100644 --- a/src/emu/sound/cdda.c +++ b/src/emu/sound/cdda.c @@ -59,7 +59,7 @@ static DEVICE_START( cdda ) cdda_info *info = get_safe_token(device); /* allocate an audio cache */ - info->audio_cache = (UINT8 *)auto_malloc( CD_MAX_SECTOR_DATA * MAX_SECTORS ); + info->audio_cache = auto_alloc_array( device->machine, UINT8, CD_MAX_SECTOR_DATA * MAX_SECTORS ); intf = (const struct CDDAinterface *)device->static_config; |