summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/sound/ym2413.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/sound/ym2413.cpp')
-rw-r--r--src/devices/sound/ym2413.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/devices/sound/ym2413.cpp b/src/devices/sound/ym2413.cpp
index 7573bfa4323..5a644815f5a 100644
--- a/src/devices/sound/ym2413.cpp
+++ b/src/devices/sound/ym2413.cpp
@@ -2008,7 +2008,7 @@ static YM2413 *OPLLCreate(device_t *device, int clock, int rate)
if (OPLL_LockTable(device) == -1) return nullptr;
/* allocate memory block */
- chip = auto_alloc_clear(device->machine(), YM2413);
+ chip = auto_alloc_clear(device->machine(), <YM2413>());
chip->device = device;
chip->clock = clock;