summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/bus
diff options
context:
space:
mode:
author Dirk Best <mail@dirk-best.de>2020-07-20 11:43:13 +0200
committer Dirk Best <mail@dirk-best.de>2020-07-20 13:17:50 +0200
commit466465f88aad60f4039129feabfe482686fc7bce (patch)
tree6ab6d03accc3c59c34dcd80fa7bbd37ceec5431c /src/devices/bus
parentf5ded52474ae24fa069cda2b0a3e8192f7c620bb (diff)
samcoupe/atom: Attach HDD by default, savestates
Diffstat (limited to 'src/devices/bus')
-rw-r--r--src/devices/bus/samcoupe/drive/atom.cpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/devices/bus/samcoupe/drive/atom.cpp b/src/devices/bus/samcoupe/drive/atom.cpp
index 3755463e307..5ca86f5d327 100644
--- a/src/devices/bus/samcoupe/drive/atom.cpp
+++ b/src/devices/bus/samcoupe/drive/atom.cpp
@@ -22,7 +22,7 @@ DEFINE_DEVICE_TYPE(SAM_ATOM_HDD, sam_atom_hdd_device, "sam_atom_hdd", "SAM Coupe
void sam_atom_hdd_device::device_add_mconfig(machine_config &config)
{
- ATA_INTERFACE(config, m_ata).options(ata_devices, nullptr, nullptr, false);
+ ATA_INTERFACE(config, m_ata).options(ata_devices, "hdd", nullptr, false);
}
@@ -49,6 +49,10 @@ sam_atom_hdd_device::sam_atom_hdd_device(const machine_config &mconfig, const ch
void sam_atom_hdd_device::device_start()
{
+ // register for savestates
+ save_item(NAME(m_address_latch));
+ save_item(NAME(m_read_latch));
+ save_item(NAME(m_write_latch));
}