diff options
author | 2013-03-26 15:18:37 +0000 | |
---|---|---|
committer | 2013-03-26 15:18:37 +0000 | |
commit | 051011971f9cce5ce1d99a9bfcf691bcf7975448 (patch) | |
tree | 7553b5907c3e67e02e4fd0a20f9f07e21a6c08ca /src/mess/machine/psxanalog.h | |
parent | ffbe9bdcca43cb1f645cc0387f0835523471b97a (diff) |
Expanded device_t constructor with parameters for short name and source file location [Miodrag Milanovic]
Diffstat (limited to 'src/mess/machine/psxanalog.h')
-rw-r--r-- | src/mess/machine/psxanalog.h | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/src/mess/machine/psxanalog.h b/src/mess/machine/psxanalog.h index e530e239c6b..9f0f66bdaa2 100644 --- a/src/mess/machine/psxanalog.h +++ b/src/mess/machine/psxanalog.h @@ -10,7 +10,7 @@ class psx_analog_controller_device : public device_t, public device_psx_controller_interface { public: - psx_analog_controller_device(const machine_config &mconfig, device_type type, const char* name, const char *tag, device_t *owner, UINT32 clock); + psx_analog_controller_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, const char *shortname, const char *source); virtual ioport_constructor device_input_ports() const; DECLARE_INPUT_CHANGED_MEMBER(change_mode); @@ -44,16 +44,12 @@ class psx_dualshock_device : public psx_analog_controller_device { public: psx_dualshock_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); -protected: - virtual void device_config_complete() { m_shortname = "psx_dualshock_pad"; } }; class psx_analog_joystick_device : public psx_analog_controller_device { public: psx_analog_joystick_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); -protected: - virtual void device_config_complete() { m_shortname = "psx_analog_joystick"; } }; #endif /* PSXANALOG_H_ */ |