summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
author Olivier Galibert <galibert@pobox.com>2021-03-26 16:48:31 +0100
committer Olivier Galibert <galibert@pobox.com>2021-03-26 16:48:45 +0100
commitccf190b4a93554a827674294eeb67eb07d4ec391 (patch)
tree065c455cb84b10e40ef5338c43d436713371ab93
parent37e6b5df9d63be208cc55a3284ae5424daa2be78 (diff)
awacs: Add init/save for a couple of missed variables
-rw-r--r--src/devices/sound/awacs.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/devices/sound/awacs.cpp b/src/devices/sound/awacs.cpp
index 34ece6b1a8f..67475d42a5e 100644
--- a/src/devices/sound/awacs.cpp
+++ b/src/devices/sound/awacs.cpp
@@ -73,6 +73,8 @@ void awacs_device::device_start()
save_item(NAME(m_in_irq));
save_item(NAME(m_output_buffer));
save_item(NAME(m_input_buffer));
+ save_item(NAME(m_phase));
+ save_item(NAME(m_buffer_size));
}
@@ -95,6 +97,8 @@ void awacs_device::device_reset()
m_in_irq = 0;
m_output_buffer = false;
m_input_buffer = false;
+ m_phase = 0;
+ m_buffer_size = 0;
m_irq_out_cb(false);
m_irq_in_cb(false);