summaryrefslogtreecommitdiffstats
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.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/devices/machine/pci.cpp b/src/devices/machine/pci.cpp
index 55fdfcdfce9..2620f1fc642 100644
--- a/src/devices/machine/pci.cpp
+++ b/src/devices/machine/pci.cpp
@@ -104,9 +104,7 @@ void pci_device::device_start()
bank_count = 0;
bank_reg_count = 0;
- for (int i = 0; i < ARRAY_LENGTH(bank_infos); i++) {
- save_item(NAME(bank_infos[i].adr), i);
- }
+ save_item(STRUCT_MEMBER(bank_infos, adr));
save_item(NAME(command));
save_item(NAME(command_mask));
save_item(NAME(status));