summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/machine/pci.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/machine/pci.cpp')
-rw-r--r--src/devices/machine/pci.cpp9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/devices/machine/pci.cpp b/src/devices/machine/pci.cpp
index c515a79780c..5edc3890f6d 100644
--- a/src/devices/machine/pci.cpp
+++ b/src/devices/machine/pci.cpp
@@ -103,6 +103,12 @@ void pci_device::device_start()
expansion_rom_size = 0;
expansion_rom_base = 0;
+ for (int i = 0; i < ARRAY_LENGTH(bank_infos); i++) {
+ save_item(NAME(bank_infos[i].adr), i);
+ }
+ save_item(NAME(command));
+ save_item(NAME(command_mask));
+ save_item(NAME(status));
save_item(NAME(intr_line));
save_item(NAME(intr_pin));
}
@@ -836,6 +842,9 @@ void pci_host_device::device_start()
io_window_start = io_window_end = io_offset = 0;
reset_all_mappings();
+
+ save_item(NAME(config_address));
+
}
void pci_host_device::device_reset()