diff options
Diffstat (limited to 'src/devices/bus/vtech/memexp/rtty.h')
-rw-r--r-- | src/devices/bus/vtech/memexp/rtty.h | 18 |
1 files changed, 8 insertions, 10 deletions
diff --git a/src/devices/bus/vtech/memexp/rtty.h b/src/devices/bus/vtech/memexp/rtty.h index 5f16aa6d234..82c3b150f34 100644 --- a/src/devices/bus/vtech/memexp/rtty.h +++ b/src/devices/bus/vtech/memexp/rtty.h @@ -6,10 +6,10 @@ ***************************************************************************/ -#pragma once +#ifndef MAME_BUS_VTECH_MEMEXP_RTTY_H +#define MAME_BUS_VTECH_MEMEXP_RTTY_H -#ifndef __VTECH_MEMEXP_RTTY_H__ -#define __VTECH_MEMEXP_RTTY_H__ +#pragma once #include "memexp.h" @@ -18,13 +18,13 @@ // TYPE DEFINITIONS //************************************************************************** -// ======================> rtty_interface_device +// ======================> vtech_rtty_interface_device -class rtty_interface_device : public device_t, public device_memexp_interface +class vtech_rtty_interface_device : public device_t, public device_vtech_memexp_interface { public: // construction/destruction - rtty_interface_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock); + vtech_rtty_interface_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock); DECLARE_READ8_MEMBER( receive_data_r ); DECLARE_WRITE8_MEMBER( transmit_data_w ); @@ -34,11 +34,9 @@ protected: virtual const tiny_rom_entry *device_rom_region() const override; virtual void device_start() override; virtual void device_reset() override; - -private: }; // device type definition -extern const device_type RTTY_INTERFACE; +DECLARE_DEVICE_TYPE(VTECH_RTTY_INTERFACE, vtech_rtty_interface_device) -#endif // __VTECH_MEMEXP_RTTY_H__ +#endif // MAME_BUS_VTECH_MEMEXP_RTTY_H |