diff options
Diffstat (limited to 'src/devices/machine/ldstub.h')
-rw-r--r-- | src/devices/machine/ldstub.h | 18 |
1 files changed, 8 insertions, 10 deletions
diff --git a/src/devices/machine/ldstub.h b/src/devices/machine/ldstub.h index 41d638f42ae..4bf463b897d 100644 --- a/src/devices/machine/ldstub.h +++ b/src/devices/machine/ldstub.h @@ -8,10 +8,10 @@ *************************************************************************/ -#pragma once +#ifndef MAME_MACHINE_LDSTUB_H +#define MAME_MACHINE_LDSTUB_H -#ifndef __LDSTUB_H__ -#define __LDSTUB_H__ +#pragma once #include "laserdsc.h" @@ -31,8 +31,8 @@ //************************************************************************** // device type definition -extern const device_type PIONEER_PR7820; -extern const device_type PHILLIPS_22VP932; +DECLARE_DEVICE_TYPE(PIONEER_PR7820, pioneer_pr7820_device) +DECLARE_DEVICE_TYPE(PHILLIPS_22VP932, phillips_22vp932_device) @@ -46,8 +46,7 @@ class pioneer_pr7820_device : public laserdisc_device { public: // construction/destruction - pioneer_pr7820_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock) - : laserdisc_device(mconfig, PIONEER_PR7820, "Pioneer PR-7820", tag, owner, clock, "pr7820", __FILE__) { } + pioneer_pr7820_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock); // input/output uint8_t data_available_r() { return CLEAR_LINE; } @@ -70,8 +69,7 @@ class phillips_22vp932_device : public laserdisc_device { public: // construction/destruction - phillips_22vp932_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock) - : laserdisc_device(mconfig, PHILLIPS_22VP932, "Phillips 22VP932", tag, owner, clock, "22vp932", __FILE__) { } + phillips_22vp932_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock); // input/output uint8_t data_r() { return 0; } @@ -86,4 +84,4 @@ protected: }; -#endif +#endif // MAME_MACHINE_LDSTUB_H |