diff options
Diffstat (limited to 'src/devices/sound/awacs.cpp')
-rw-r--r-- | src/devices/sound/awacs.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/devices/sound/awacs.cpp b/src/devices/sound/awacs.cpp index 57668acaef5..4784616cdf6 100644 --- a/src/devices/sound/awacs.cpp +++ b/src/devices/sound/awacs.cpp @@ -26,7 +26,7 @@ const device_type AWACS = &device_creator<awacs_device>; awacs_device::awacs_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : device_t(mconfig, AWACS, "AWACS", tag, owner, clock, "awacs", __FILE__), - device_sound_interface(mconfig, *this) + device_sound_interface(mconfig, *this), m_stream(nullptr), m_play_ptr(0), m_buffer_size(0), m_buffer_num(0), m_playback_enable(false), m_dma_space(nullptr), m_dma_offset_0(0), m_dma_offset_1(0), m_timer(nullptr) { } @@ -41,7 +41,7 @@ void awacs_device::device_start() memset(m_regs, 0, sizeof(m_regs)); - m_timer = timer_alloc(0, NULL); + m_timer = timer_alloc(0, nullptr); save_item(NAME(m_play_ptr)); save_item(NAME(m_buffer_size)); @@ -62,7 +62,7 @@ void awacs_device::device_reset() m_play_ptr = 0; m_buffer_size = 0; m_playback_enable = false; - m_dma_space = NULL; + m_dma_space = nullptr; m_dma_offset_0 = m_dma_offset_1 = 0; m_buffer_num = 0; } |