summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/bus
diff options
context:
space:
mode:
author holub <andrei.holub@gmail.com>2024-12-09 14:30:46 -0500
committer GitHub <noreply@github.com>2024-12-09 14:30:46 -0500
commit6396a364196ab3cbbf884f5b3f854c66b5690847 (patch)
tree31b5423acd6b68bd7013a38e67a369e7050cc95e /src/devices/bus
parent306324601ab73c464a93bdecef3faac6b31f1635 (diff)
zxbus/neogs: Added save state (#13060)
Diffstat (limited to 'src/devices/bus')
-rw-r--r--src/devices/bus/spectrum/neogs.cpp15
1 files changed, 15 insertions, 0 deletions
diff --git a/src/devices/bus/spectrum/neogs.cpp b/src/devices/bus/spectrum/neogs.cpp
index 2c69df1781f..de36a3c5fdf 100644
--- a/src/devices/bus/spectrum/neogs.cpp
+++ b/src/devices/bus/spectrum/neogs.cpp
@@ -467,6 +467,21 @@ void neogs_device::device_start()
m_zxbus->install_device(0x0000, 0xffff, *this, &neogs_device::neogsmap);
m_neogs_led.resolve();
+
+ save_item(NAME(m_data_in));
+ save_item(NAME(m_data_out));
+ save_item(NAME(m_command_in));
+ save_item(NAME(m_status));
+ save_item(NAME(m_spi_ctrl));
+ save_item(NAME(m_spi_data_out));
+ save_item(NAME(m_spi_data_in_latch));
+ save_item(NAME(m_spi_clock_cycles));
+ save_item(NAME(m_spi_clock_state));
+ save_item(NAME(m_mpag));
+ save_item(NAME(m_mpagx));
+ save_item(NAME(m_gscfg0));
+ save_pointer(NAME(m_vol), 6);
+ save_pointer(NAME(m_sample), 6);
}
void neogs_device::device_reset()