diff options
Diffstat (limited to 'src/mame/audio/exidy440.cpp')
-rw-r--r-- | src/mame/audio/exidy440.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mame/audio/exidy440.cpp b/src/mame/audio/exidy440.cpp index 23fd2ed37a6..166d449f85f 100644 --- a/src/mame/audio/exidy440.cpp +++ b/src/mame/audio/exidy440.cpp @@ -131,7 +131,7 @@ void exidy440_sound_device::device_start() m_mixer_buffer_left = make_unique_clear<int32_t[]>(clock()); m_mixer_buffer_right = make_unique_clear<int32_t[]>(clock()); - if (SOUND_LOG) + if (IS_ENABLED(SOUND_LOG)) m_debuglog = fopen("sound.log", "w"); } @@ -141,7 +141,7 @@ void exidy440_sound_device::device_start() void exidy440_sound_device::device_stop() { - if (SOUND_LOG && m_debuglog) + if (IS_ENABLED(SOUND_LOG) && m_debuglog) fclose(m_debuglog); } |