summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/machine/i8257.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/machine/i8257.h')
-rw-r--r--src/devices/machine/i8257.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/devices/machine/i8257.h b/src/devices/machine/i8257.h
index df1f74a4858..b73703e6e23 100644
--- a/src/devices/machine/i8257.h
+++ b/src/devices/machine/i8257.h
@@ -66,6 +66,7 @@ protected:
// device-level overrides
virtual void device_start() override;
virtual void device_reset() override;
+ virtual void device_register_save(save_registrar &save) override;
virtual void execute_run() override;
int m_icount;
@@ -112,6 +113,8 @@ private:
uint16_t m_address;
uint16_t m_count;
uint8_t m_mode;
+
+ void register_save(save_registrar &save) { save.reg(NAME(m_address)).reg(NAME(m_count)).reg(NAME(m_mode)); }
} m_channel[4];
};