diff options
Diffstat (limited to 'src/devices/imagedev/diablo.h')
-rw-r--r-- | src/devices/imagedev/diablo.h | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/src/devices/imagedev/diablo.h b/src/devices/imagedev/diablo.h index e19cc598fa0..087a097ed2a 100644 --- a/src/devices/imagedev/diablo.h +++ b/src/devices/imagedev/diablo.h @@ -4,13 +4,15 @@ * DIABLO drive image to hard disk interface **********************************************************/ -#ifndef _IMAGEDEV_DIABLO_H_ -#define _IMAGEDEV_DIABLO_H_ +#ifndef MAME_DEVICES_IMAGEDEV_DIABLO_H +#define MAME_DEVICES_IMAGEDEV_DIABLO_H + +#pragma once #include "harddisk.h" #include "softlist_dev.h" -#define DIABLO_TAG(_id) "diablo"#_id +#define DIABLO_TAG(id) "diablo"#id /*************************************************************************** TYPE DEFINITIONS @@ -18,8 +20,7 @@ // ======================> diablo_image_device -class diablo_image_device : public device_t, - public device_image_interface +class diablo_image_device : public device_t, public device_image_interface { public: // construction/destruction @@ -70,7 +71,7 @@ protected: }; // device type definition -extern const device_type DIABLO; +DECLARE_DEVICE_TYPE(DIABLO, diablo_image_device) /*************************************************************************** DEVICE CONFIGURATION MACROS @@ -88,4 +89,4 @@ extern const device_type DIABLO; #define MCFG_DIABLO_INTERFACE(_interface) \ diablo_image_device::static_set_interface(*device, _interface); -#endif /* _IMAGEDEV_DIABLO_H_ */ +#endif // MAME_DEVICES_IMAGEDEV_DIABLO_H |