diff options
author | 2016-01-29 00:47:01 +0100 | |
---|---|---|
committer | 2016-01-29 00:47:01 +0100 | |
commit | 1e8d53c167439502c84b8bd9b7108af7f99eb2b5 (patch) | |
tree | d1239d4cd9fc4c8161cce5a873face333f9402a9 /src/emu/sound/wavwrite.cpp | |
parent | 361d32d37ffbe133760fcbfa314f60ccd4a8e8a8 (diff) |
wavwrite.cpp: call to nothrow allocation.
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 b535e91a675..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 = global_alloc(wav_file); + wav = global_alloc_nothrow(wav_file); if (!wav) return nullptr; |