diff options
Diffstat (limited to 'src/emu/sound/wavwrite.cpp')
-rw-r--r-- | src/emu/sound/wavwrite.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/emu/sound/wavwrite.cpp b/src/emu/sound/wavwrite.cpp index 210b1bcc9d5..173962ea46c 100644 --- a/src/emu/sound/wavwrite.cpp +++ b/src/emu/sound/wavwrite.cpp @@ -18,7 +18,7 @@ wav_file *wav_open(const char *filename, int sample_rate, int channels) UINT16 align, temp16; /* allocate memory for the wav struct */ - wav = (wav_file *) global_alloc(wav_file); + wav = global_alloc_nothrow(wav_file); if (!wav) return nullptr; |