mirror of
https://github.com/holub/mame
synced 2025-07-09 11:48:12 +03:00
saitek_osa/maestro: use parent_rom_device_type for analyst
This commit is contained in:
parent
56fbe2c9f0
commit
0611af8d51
@ -31,6 +31,8 @@
|
||||
|
||||
#include "screen.h"
|
||||
|
||||
DECLARE_DEVICE_TYPE(SAITEKOSA_EXPANSION, saitekosa_expansion_device)
|
||||
|
||||
|
||||
//**************************************************************************
|
||||
// TYPE DEFINITIONS
|
||||
@ -122,7 +124,4 @@ protected:
|
||||
void saitekosa_expansion_modules(device_slot_interface &device);
|
||||
|
||||
|
||||
// device type definition
|
||||
DECLARE_DEVICE_TYPE(SAITEKOSA_EXPANSION, saitekosa_expansion_device)
|
||||
|
||||
#endif // MAME_BUS_SAITEKOSA_EXPANSION_H
|
||||
|
@ -16,6 +16,9 @@
|
||||
#include "bus/generic/slot.h"
|
||||
#include "video/hd44780.h"
|
||||
|
||||
DECLARE_DEVICE_TYPE(OSA_MAESTRO, saitekosa_maestro_device)
|
||||
DECLARE_DEVICE_TYPE(OSA_ANALYST, saitekosa_analyst_device)
|
||||
|
||||
|
||||
class saitekosa_maestro_device : public device_t, public device_saitekosa_expansion_interface
|
||||
{
|
||||
@ -69,6 +72,8 @@ public:
|
||||
|
||||
virtual u32 screen_update(screen_device &screen, bitmap_rgb32 &bitmap, const rectangle &cliprect) override;
|
||||
|
||||
static auto parent_rom_device_type() { return &OSA_MAESTRO; }
|
||||
|
||||
protected:
|
||||
virtual const tiny_rom_entry *device_rom_region() const override;
|
||||
virtual void device_add_mconfig(machine_config &config) override;
|
||||
@ -80,8 +85,4 @@ private:
|
||||
virtual void main_map(address_map &map) override;
|
||||
};
|
||||
|
||||
|
||||
DECLARE_DEVICE_TYPE(OSA_MAESTRO, saitekosa_maestro_device)
|
||||
DECLARE_DEVICE_TYPE(OSA_ANALYST, saitekosa_analyst_device)
|
||||
|
||||
#endif // MAME_BUS_SAITEKOSA_MAESTRO_H
|
||||
|
@ -13,6 +13,8 @@
|
||||
|
||||
#include "expansion.h"
|
||||
|
||||
DECLARE_DEVICE_TYPE(OSA_MAESTROA, saitekosa_maestroa_device)
|
||||
|
||||
|
||||
class saitekosa_maestroa_device : public device_t, public device_saitekosa_expansion_interface
|
||||
{
|
||||
@ -52,6 +54,4 @@ private:
|
||||
};
|
||||
|
||||
|
||||
DECLARE_DEVICE_TYPE(OSA_MAESTROA, saitekosa_maestroa_device)
|
||||
|
||||
#endif // MAME_BUS_SAITEKOSA_MAESTROA_H
|
||||
|
@ -15,6 +15,8 @@
|
||||
|
||||
#include "cpu/sparc/sparc.h"
|
||||
|
||||
DECLARE_DEVICE_TYPE(OSA_SPARC, saitekosa_sparc_device)
|
||||
|
||||
|
||||
class saitekosa_sparc_device : public device_t, public device_saitekosa_expansion_interface
|
||||
{
|
||||
@ -39,7 +41,4 @@ private:
|
||||
void main_map(address_map &map);
|
||||
};
|
||||
|
||||
|
||||
DECLARE_DEVICE_TYPE(OSA_SPARC, saitekosa_sparc_device)
|
||||
|
||||
#endif // MAME_BUS_SAITEKOSA_SPARC_H
|
||||
|
@ -35,19 +35,10 @@
|
||||
|
||||
*/
|
||||
|
||||
|
||||
//**************************************************************************
|
||||
// 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
|
||||
|
Loading…
Reference in New Issue
Block a user