summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/includes/funworld.h
diff options
context:
space:
mode:
author Ivan Vangelista <mesgnet@yahoo.it>2019-03-07 17:52:30 +0100
committer Ivan Vangelista <mesgnet@yahoo.it>2019-03-07 17:52:30 +0100
commitb090ac4af1f24c9bf5eb1ce33ce36a4b81e29b57 (patch)
tree5024668e4c9fc1e5d8532a3e37933d0161e78943 /src/mame/includes/funworld.h
parent023d907486b5c329130793e3cc8f7e8ced4f3f80 (diff)
mame\drivers: removed most MCFG and MACHINE_CONFIG macros from drivers starting with f and g (nw)
Diffstat (limited to 'src/mame/includes/funworld.h')
-rw-r--r--src/mame/includes/funworld.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mame/includes/funworld.h b/src/mame/includes/funworld.h
index 3a69f8becae..34859d8d5e8 100644
--- a/src/mame/includes/funworld.h
+++ b/src/mame/includes/funworld.h
@@ -12,10 +12,10 @@ class funworld_state : public driver_device
public:
funworld_state(const machine_config &mconfig, device_type type, const char *tag) :
driver_device(mconfig, type, tag),
+ m_maincpu(*this, "maincpu"),
m_gfxdecode(*this, "gfxdecode"),
m_videoram(*this, "videoram"),
m_colorram(*this, "colorram"),
- m_maincpu(*this, "maincpu"),
m_palette(*this, "palette"),
m_lamps(*this, "lamp%u", 0U)
{ }
@@ -55,6 +55,7 @@ protected:
void magicrd2_map(address_map &map);
+ required_device<cpu_device> m_maincpu;
required_device<gfxdecode_device> m_gfxdecode;
tilemap_t *m_bg_tilemap = nullptr;
@@ -75,7 +76,6 @@ private:
required_shared_ptr<uint8_t> m_videoram;
required_shared_ptr<uint8_t> m_colorram;
- required_device<cpu_device> m_maincpu;
required_device<palette_device> m_palette;
output_finder<8> m_lamps;
};