mirror of
https://github.com/mamedev/mame.git
synced 2024-11-16 07:48:32 +01:00
i8244: use parent_rom_device_type for i8245
This commit is contained in:
parent
88f6393be8
commit
c916de50a6
1 changed files with 15 additions and 5 deletions
|
@ -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
|
||||
|
@ -178,13 +190,11 @@ 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
|
||||
|
|
Loading…
Reference in a new issue