diff options
author | Vas Crabb <vas@vastheman.com> | 2017-02-27 22:16:07 +1100 |
---|---|---|
committer | Vas Crabb <vas@vastheman.com> | 2017-02-27 22:57:14 +1100 |
commit | 6c23897483a0201dd0b65b450253fd9bf8fb8723 (patch) | |
tree | 62a083b4801f63b09bed57ae0c9e8f646aaa3200 /src/mame/drivers/meyc8080.cpp | |
parent | b07c572f709e95dcd1e2e4b9d4c696e122f67655 (diff) |
Self-registering devices prep:
* Make device_creator a variable template and get rid of the ampersands
* Remove screen.h and speaker.h from emu.h and add where necessary
* Centralise instantiations of screen and speaker finder templates
* Add/standardise #include guards in many hearers
* Remove many redundant #includes
* Order #includesr to help catch headers that can't be #included alone
(nw) This changes #include order to be prefix, unit header if applicable
then other stuff roughly in order from most dependent to least dependent
library. This helps catch headers that don't #include things that they
use.
Diffstat (limited to 'src/mame/drivers/meyc8080.cpp')
-rw-r--r-- | src/mame/drivers/meyc8080.cpp | 15 |
1 files changed, 9 insertions, 6 deletions
diff --git a/src/mame/drivers/meyc8080.cpp b/src/mame/drivers/meyc8080.cpp index 6888cf049cb..e7b54bd7cd7 100644 --- a/src/mame/drivers/meyc8080.cpp +++ b/src/mame/drivers/meyc8080.cpp @@ -60,6 +60,8 @@ #include "machine/nvram.h" #include "sound/dac.h" #include "sound/volt_reg.h" +#include "screen.h" +#include "speaker.h" #include "wldarrow.lh" #include "mdrawpkr.lh" @@ -70,12 +72,13 @@ class meyc8080_state : public driver_device { public: meyc8080_state(const machine_config &mconfig, device_type type, const char *tag) - : driver_device(mconfig, type, tag), - m_videoram_0(*this, "vram0"), - m_videoram_1(*this, "vram1"), - m_videoram_2(*this, "vram2"), - m_maincpu(*this, "maincpu"), - m_dac(*this, "dac") { } + : driver_device(mconfig, type, tag) + , m_videoram_0(*this, "vram0") + , m_videoram_1(*this, "vram1") + , m_videoram_2(*this, "vram2") + , m_maincpu(*this, "maincpu") + , m_dac(*this, "dac") + { } required_shared_ptr<uint8_t> m_videoram_0; required_shared_ptr<uint8_t> m_videoram_1; |