diff options
Diffstat (limited to 'src/emu/sound/wavwrite.cpp')
-rw-r--r-- | src/emu/sound/wavwrite.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/emu/sound/wavwrite.cpp b/src/emu/sound/wavwrite.cpp index baf5498f02c..210b1bcc9d5 100644 --- a/src/emu/sound/wavwrite.cpp +++ b/src/emu/sound/wavwrite.cpp @@ -20,14 +20,14 @@ wav_file *wav_open(const char *filename, int sample_rate, int channels) /* allocate memory for the wav struct */ wav = (wav_file *) global_alloc(wav_file); if (!wav) - return NULL; + return nullptr; /* create the file */ wav->file = fopen(filename, "wb"); if (!wav->file) { global_free(wav); - return NULL; + return nullptr; } /* write the 'RIFF' header */ |