summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/bus/ti99/peb/horizon.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/bus/ti99/peb/horizon.h')
-rw-r--r--src/devices/bus/ti99/peb/horizon.h16
1 files changed, 10 insertions, 6 deletions
diff --git a/src/devices/bus/ti99/peb/horizon.h b/src/devices/bus/ti99/peb/horizon.h
index 253a1b2c3a0..dc15c8586bc 100644
--- a/src/devices/bus/ti99/peb/horizon.h
+++ b/src/devices/bus/ti99/peb/horizon.h
@@ -35,16 +35,18 @@ public:
DECLARE_INPUT_CHANGED_MEMBER( hs_changed );
protected:
- void device_start() override;
- void device_reset() override;
+ virtual void device_start() override;
+ virtual void device_reset() override;
virtual void device_add_mconfig(machine_config &config) override;
virtual ioport_constructor device_input_ports() const override;
- void nvram_default() override;
- void nvram_read(emu_file &file) override;
- void nvram_write(emu_file &file) override;
- bool nvram_can_write() override;
+ virtual void nvram_default() override;
+ virtual bool nvram_read(util::read_stream &file) override;
+ virtual bool nvram_write(util::write_stream &file) override;
+ virtual bool nvram_can_write() const override;
+
+ void reset_in(int state) override;
private:
required_device<ram_device> m_ram;
@@ -66,6 +68,8 @@ private:
bool m_hideswitch;
bool m_rambo_supported;
+ bool m_reset_in;
+
// Do not save if nothing was modified.
bool m_modified;