summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/hec2hrp.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/hec2hrp.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/hec2hrp.cpp')
-rw-r--r--src/mame/drivers/hec2hrp.cpp15
1 files changed, 10 insertions, 5 deletions
diff --git a/src/mame/drivers/hec2hrp.cpp b/src/mame/drivers/hec2hrp.cpp
index 012b852d1cc..7b990ed4edd 100644
--- a/src/mame/drivers/hec2hrp.cpp
+++ b/src/mame/drivers/hec2hrp.cpp
@@ -72,17 +72,22 @@
*/
#include "emu.h"
+#include "includes/hec2hrp.h"
+#include "cpu/z80/z80.h"
#include "imagedev/cassette.h"
-#include "formats/hect_tap.h"
#include "imagedev/printer.h"
-#include "sound/wave.h" /* for K7 sound*/
-#include "sound/discrete.h" /* for 1 Bit sound*/
#include "machine/upd765.h" /* for floppy disc controller */
-#include "cpu/z80/z80.h"
+#include "sound/discrete.h" /* for 1 Bit sound*/
+#include "sound/wave.h" /* for K7 sound*/
+
+#include "screen.h"
+#include "speaker.h"
+
#include "formats/hect_dsk.h"
+#include "formats/hect_tap.h"
#include "formats/hector_minidisc.h"
-#include "includes/hec2hrp.h"
+
/*****************************************************************************/
static ADDRESS_MAP_START(hecdisc2_mem, AS_PROGRAM, 8, hec2hrp_state )