summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/mikrosha.cpp
diff options
context:
space:
mode:
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
commit6c23897483a0201dd0b65b450253fd9bf8fb8723 (patch)
tree62a083b4801f63b09bed57ae0c9e8f646aaa3200 /src/mame/drivers/mikrosha.cpp
parentb07c572f709e95dcd1e2e4b9d4c696e122f67655 (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/mikrosha.cpp')
-rw-r--r--src/mame/drivers/mikrosha.cpp21
1 files changed, 14 insertions, 7 deletions
diff --git a/src/mame/drivers/mikrosha.cpp b/src/mame/drivers/mikrosha.cpp
index d94a0387fc6..233fdbde003 100644
--- a/src/mame/drivers/mikrosha.cpp
+++ b/src/mame/drivers/mikrosha.cpp
@@ -10,22 +10,29 @@
#include "emu.h"
+#include "includes/radio86.h"
+
#include "cpu/i8085/i8085.h"
-#include "sound/wave.h"
+#include "imagedev/cassette.h"
#include "machine/i8255.h"
#include "machine/pit8253.h"
-#include "imagedev/cassette.h"
-#include "formats/rk_cas.h"
-#include "includes/radio86.h"
+#include "sound/wave.h"
+
+#include "screen.h"
#include "softlist.h"
+#include "speaker.h"
+
+#include "formats/rk_cas.h"
+
class mikrosha_state : public radio86_state
{
public:
mikrosha_state(const machine_config &mconfig, device_type type, const char *tag)
- : radio86_state(mconfig, type, tag),
- m_cart(*this, "cartslot")
- { }
+ : radio86_state(mconfig, type, tag)
+ , m_cart(*this, "cartslot")
+ { }
+
DECLARE_WRITE_LINE_MEMBER(mikrosha_pit_out2);
I8275_DRAW_CHARACTER_MEMBER(display_pixels);
DECLARE_MACHINE_RESET(mikrosha);