summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/video/i8244.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/video/i8244.h')
-rw-r--r--src/devices/video/i8244.h20
1 files changed, 15 insertions, 5 deletions
diff --git a/src/devices/video/i8244.h b/src/devices/video/i8244.h
index ca9b2173029..5d05760ee26 100644
--- a/src/devices/video/i8244.h
+++ b/src/devices/video/i8244.h
@@ -36,6 +36,18 @@
*/
+//**************************************************************************
+// DEVICE TYPE DECLARATION
+//**************************************************************************
+
+DECLARE_DEVICE_TYPE(I8244, i8244_device)
+DECLARE_DEVICE_TYPE(I8245, i8245_device)
+
+
+//**************************************************************************
+// TYPE DEFINITIONS
+//**************************************************************************
+
class i8244_device : public device_t
, public device_sound_interface
, public device_video_interface
@@ -172,19 +184,17 @@ protected:
};
-class i8245_device : public i8244_device
+class i8245_device : public i8244_device
{
public:
// construction/destruction
i8245_device(const machine_config &mconfig, const char *tag, device_t *owner, u32 clock);
+ static auto parent_rom_device_type() { return &I8244; }
+
protected:
virtual void set_default_params() override;
};
-// device type definition
-DECLARE_DEVICE_TYPE(I8244, i8244_device)
-DECLARE_DEVICE_TYPE(I8245, i8245_device)
-
#endif // MAME_VIDEO_I8244_H