summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/bus/electron
diff options
context:
space:
mode:
author Olivier Galibert <galibert@pobox.com>2017-02-11 18:23:11 +0100
committer Olivier Galibert <galibert@pobox.com>2017-02-11 18:31:20 +0100
commita2557f1b02478c5aaa1fdfa00204ac2e219319a1 (patch)
tree6f1693d59aa53be8c76ffe3bcf7fbc72f8546453 /src/devices/bus/electron
parentc49b631153be9efc3a7e7b6172c17f5418843c0b (diff)
Remove emu.h from headers (nw)
Per Vas' request. If the compile fails for you (i'm thinking osx and windows native debuggers here in particular), add '#include "emu.h"' as first include of the cpp files that fail. Due to our use of precompilation and forced inclusion, emu.h must be included as the very first non-comment thing we do if we want to be sure msvc compiles are identical to gcc/clang ones. Doing it directly instead of through an include increases the correctness probability by a magnitude.
Diffstat (limited to 'src/devices/bus/electron')
-rw-r--r--src/devices/bus/electron/exp.cpp1
-rw-r--r--src/devices/bus/electron/exp.h1
-rw-r--r--src/devices/bus/electron/m2105.cpp1
-rw-r--r--src/devices/bus/electron/m2105.h1
-rw-r--r--src/devices/bus/electron/plus3.cpp1
-rw-r--r--src/devices/bus/electron/plus3.h1
6 files changed, 3 insertions, 3 deletions
diff --git a/src/devices/bus/electron/exp.cpp b/src/devices/bus/electron/exp.cpp
index bff51964e99..59df7604656 100644
--- a/src/devices/bus/electron/exp.cpp
+++ b/src/devices/bus/electron/exp.cpp
@@ -6,6 +6,7 @@
**********************************************************************/
+#include "emu.h"
#include "exp.h"
diff --git a/src/devices/bus/electron/exp.h b/src/devices/bus/electron/exp.h
index e4cd4c96008..a87b1670fcc 100644
--- a/src/devices/bus/electron/exp.h
+++ b/src/devices/bus/electron/exp.h
@@ -88,7 +88,6 @@ AC RETURNS (pins 3,4) - adaptor. A total of 6W may be drawn from these lines as
#ifndef __ELECTRON_EXPANSION_SLOT__
#define __ELECTRON_EXPANSION_SLOT__
-#include "emu.h"
//**************************************************************************
diff --git a/src/devices/bus/electron/m2105.cpp b/src/devices/bus/electron/m2105.cpp
index 4228f02395f..bef3596db51 100644
--- a/src/devices/bus/electron/m2105.cpp
+++ b/src/devices/bus/electron/m2105.cpp
@@ -7,6 +7,7 @@
**********************************************************************/
+#include "emu.h"
#include "m2105.h"
diff --git a/src/devices/bus/electron/m2105.h b/src/devices/bus/electron/m2105.h
index 511bbe766d4..d9d8d5b3aed 100644
--- a/src/devices/bus/electron/m2105.h
+++ b/src/devices/bus/electron/m2105.h
@@ -10,7 +10,6 @@
#ifndef __ELECTRON_M2105__
#define __ELECTRON_M2105__
-#include "emu.h"
#include "exp.h"
#include "machine/6522via.h"
#include "machine/mc68681.h"
diff --git a/src/devices/bus/electron/plus3.cpp b/src/devices/bus/electron/plus3.cpp
index 62f8e77f69a..ae56dbe98f3 100644
--- a/src/devices/bus/electron/plus3.cpp
+++ b/src/devices/bus/electron/plus3.cpp
@@ -15,6 +15,7 @@
**********************************************************************/
+#include "emu.h"
#include "plus3.h"
#include "softlist.h"
diff --git a/src/devices/bus/electron/plus3.h b/src/devices/bus/electron/plus3.h
index a16af3f370c..80aa3ec2320 100644
--- a/src/devices/bus/electron/plus3.h
+++ b/src/devices/bus/electron/plus3.h
@@ -10,7 +10,6 @@
#ifndef __ELECTRON_PLUS3__
#define __ELECTRON_PLUS3__
-#include "emu.h"
#include "exp.h"
#include "machine/wd_fdc.h"
#include "formats/acorn_dsk.h"