summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/sound
diff options
context:
space:
mode:
author AJR <ajrhacker@users.noreply.github.com>2019-09-12 14:20:47 -0400
committer AJR <ajrhacker@users.noreply.github.com>2019-09-12 14:20:52 -0400
commitca6d02b1e3aa057c8117a532568891ea2dfe9176 (patch)
tree7cb2114e743628984ea2c71e8fbe6aa00615d219 /src/devices/sound
parent8694d47a4c181e3b5ddac2accbf88875338232f9 (diff)
multipcm: Fix crash on exit (nw)
Diffstat (limited to 'src/devices/sound')
-rw-r--r--src/devices/sound/multipcm.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/devices/sound/multipcm.cpp b/src/devices/sound/multipcm.cpp
index ccad2612989..e3f533db186 100644
--- a/src/devices/sound/multipcm.cpp
+++ b/src/devices/sound/multipcm.cpp
@@ -259,8 +259,8 @@ void multipcm_device::lfo_init()
}
}
- m_pitch_scale_tables = make_unique_clear<std::unique_ptr<int32_t[]>[]>(8);
- m_amplitude_scale_tables = make_unique_clear<std::unique_ptr<int32_t[]>[]>(8);
+ m_pitch_scale_tables = std::make_unique<std::unique_ptr<int32_t[]>[]>(8);
+ m_amplitude_scale_tables = std::make_unique<std::unique_ptr<int32_t[]>[]>(8);
for (int32_t table = 0; table < 8; ++table)
{
float limit = PHASE_SCALE_LIMIT[table];