diff options
Diffstat (limited to 'src/devices/bus/vcs_ctrl/ctrl.h')
-rw-r--r-- | src/devices/bus/vcs_ctrl/ctrl.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/devices/bus/vcs_ctrl/ctrl.h b/src/devices/bus/vcs_ctrl/ctrl.h index 50f817a2a01..bdcc9f5abe0 100644 --- a/src/devices/bus/vcs_ctrl/ctrl.h +++ b/src/devices/bus/vcs_ctrl/ctrl.h @@ -97,7 +97,7 @@ public: void joy_w( UINT8 data ) { if ( exists() ) m_device->vcs_joy_w( data ); } DECLARE_WRITE8_MEMBER( joy_w ); - bool exists() { return m_device != NULL; } + bool exists() { return m_device != nullptr; } bool has_pot_x() { return exists() && m_device->has_pot_x(); } bool has_pot_y() { return exists() && m_device->has_pot_y(); } @@ -105,7 +105,7 @@ public: protected: // device-level overrides - virtual void device_start(); + virtual void device_start() override; device_vcs_control_port_interface *m_device; |