diff options
author | 2015-12-05 20:32:27 +0100 | |
---|---|---|
committer | 2015-12-05 21:20:53 +0100 | |
commit | 1c4865d66ff88a6891ebdde4580c3d61ee46ffa2 (patch) | |
tree | 268936fc8389b1a2adb8bfc3fa3006f12a4ccc95 /src/devices/bus/pc_joy/pc_joy_sw.h | |
parent | e8516832e941e39fa1db11211249afa9f015e7bb (diff) |
override part 1 (nw)
Diffstat (limited to 'src/devices/bus/pc_joy/pc_joy_sw.h')
-rw-r--r-- | src/devices/bus/pc_joy/pc_joy_sw.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/devices/bus/pc_joy/pc_joy_sw.h b/src/devices/bus/pc_joy/pc_joy_sw.h index 12506ef1f1b..29500ed35ea 100644 --- a/src/devices/bus/pc_joy/pc_joy_sw.h +++ b/src/devices/bus/pc_joy/pc_joy_sw.h @@ -10,16 +10,16 @@ class pc_mssw_pad_device : public device_t, { public: pc_mssw_pad_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); - virtual ioport_constructor device_input_ports() const; + virtual ioport_constructor device_input_ports() const override; - virtual UINT8 btn() { return m_state; } + virtual UINT8 btn() override { return m_state; } // timing is guessed, calibrated for at486 - virtual void port_write() { if(!m_active) { m_timer->adjust(attotime::from_usec(50), 0, attotime::from_usec(5)); m_active = true; } } + virtual void port_write() override { if(!m_active) { m_timer->adjust(attotime::from_usec(50), 0, attotime::from_usec(5)); m_active = true; } } protected: - virtual void device_start(); - virtual void device_timer(emu_timer &timer, device_timer_id tid, int param, void *ptr); - virtual void device_reset(); + virtual void device_start() override; + virtual void device_timer(emu_timer &timer, device_timer_id tid, int param, void *ptr) override; + virtual void device_reset() override; private: required_ioport m_btn1; |