diff options
Diffstat (limited to 'src/mame/includes/yunsun16.h')
-rw-r--r-- | src/mame/includes/yunsun16.h | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/src/mame/includes/yunsun16.h b/src/mame/includes/yunsun16.h index 09b46d9c783..a305e5d6730 100644 --- a/src/mame/includes/yunsun16.h +++ b/src/mame/includes/yunsun16.h @@ -29,6 +29,12 @@ public: m_priorityram(*this, "priorityram"), m_spriteram(*this, "spriteram") { } + void magicbub(machine_config &config); + void shocking(machine_config &config); + + void init_magicbub(); + +private: /* devices */ required_device<cpu_device> m_maincpu; optional_device<cpu_device> m_audiocpu; @@ -55,7 +61,7 @@ public: DECLARE_WRITE16_MEMBER(magicbub_sound_command_w); DECLARE_WRITE16_MEMBER(vram_0_w); DECLARE_WRITE16_MEMBER(vram_1_w); - void init_magicbub(); + DECLARE_MACHINE_START(shocking); DECLARE_MACHINE_RESET(shocking); TILEMAP_MAPPER_MEMBER(tilemap_scan_pages); @@ -66,8 +72,7 @@ public: virtual void video_start() override; uint32_t screen_update_yunsun16(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect); void draw_sprites( screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect ); - void magicbub(machine_config &config); - void shocking(machine_config &config); + void main_map(address_map &map); void oki_map(address_map &map); void sound_map(address_map &map); |