diff options
author | 2017-02-11 18:23:11 +0100 | |
---|---|---|
committer | 2017-02-11 18:31:20 +0100 | |
commit | a2557f1b02478c5aaa1fdfa00204ac2e219319a1 (patch) | |
tree | 6f1693d59aa53be8c76ffe3bcf7fbc72f8546453 /src/devices/bus/vtech | |
parent | c49b631153be9efc3a7e7b6172c17f5418843c0b (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/vtech')
22 files changed, 11 insertions, 11 deletions
diff --git a/src/devices/bus/vtech/ioexp/carts.cpp b/src/devices/bus/vtech/ioexp/carts.cpp index 5bdd6aca63f..d9ddb4cb9ec 100644 --- a/src/devices/bus/vtech/ioexp/carts.cpp +++ b/src/devices/bus/vtech/ioexp/carts.cpp @@ -6,6 +6,7 @@ ***************************************************************************/ +#include "emu.h" #include "carts.h" SLOT_INTERFACE_START( ioexp_slot_carts ) diff --git a/src/devices/bus/vtech/ioexp/carts.h b/src/devices/bus/vtech/ioexp/carts.h index ef9125b5e7b..6bdd27b2ee8 100644 --- a/src/devices/bus/vtech/ioexp/carts.h +++ b/src/devices/bus/vtech/ioexp/carts.h @@ -11,7 +11,6 @@ #ifndef __VTECH_IOEXP_CARTS_H__ #define __VTECH_IOEXP_CARTS_H__ -#include "emu.h" #include "joystick.h" #include "printer.h" diff --git a/src/devices/bus/vtech/ioexp/ioexp.cpp b/src/devices/bus/vtech/ioexp/ioexp.cpp index 4967e305c31..17796071922 100644 --- a/src/devices/bus/vtech/ioexp/ioexp.cpp +++ b/src/devices/bus/vtech/ioexp/ioexp.cpp @@ -8,6 +8,7 @@ ***************************************************************************/ +#include "emu.h" #include "ioexp.h" diff --git a/src/devices/bus/vtech/ioexp/ioexp.h b/src/devices/bus/vtech/ioexp/ioexp.h index e00479761a0..6dec80c6c4a 100644 --- a/src/devices/bus/vtech/ioexp/ioexp.h +++ b/src/devices/bus/vtech/ioexp/ioexp.h @@ -29,7 +29,6 @@ #ifndef __VTECH_IOEXP_H__ #define __VTECH_IOEXP_H__ -#include "emu.h" //************************************************************************** diff --git a/src/devices/bus/vtech/ioexp/joystick.cpp b/src/devices/bus/vtech/ioexp/joystick.cpp index c9084f7559c..c2de69f455f 100644 --- a/src/devices/bus/vtech/ioexp/joystick.cpp +++ b/src/devices/bus/vtech/ioexp/joystick.cpp @@ -9,6 +9,7 @@ ***************************************************************************/ +#include "emu.h" #include "joystick.h" diff --git a/src/devices/bus/vtech/ioexp/joystick.h b/src/devices/bus/vtech/ioexp/joystick.h index 30d1fdb4239..803e3bd5848 100644 --- a/src/devices/bus/vtech/ioexp/joystick.h +++ b/src/devices/bus/vtech/ioexp/joystick.h @@ -14,7 +14,6 @@ #ifndef __VTECH_IOEXP_JOYSTICK_H__ #define __VTECH_IOEXP_JOYSTICK_H__ -#include "emu.h" #include "ioexp.h" diff --git a/src/devices/bus/vtech/ioexp/printer.cpp b/src/devices/bus/vtech/ioexp/printer.cpp index a80ab27ebdc..dfc971bb914 100644 --- a/src/devices/bus/vtech/ioexp/printer.cpp +++ b/src/devices/bus/vtech/ioexp/printer.cpp @@ -9,6 +9,7 @@ ***************************************************************************/ +#include "emu.h" #include "printer.h" diff --git a/src/devices/bus/vtech/ioexp/printer.h b/src/devices/bus/vtech/ioexp/printer.h index 0b0e8dbe6e1..37a25a35fad 100644 --- a/src/devices/bus/vtech/ioexp/printer.h +++ b/src/devices/bus/vtech/ioexp/printer.h @@ -13,7 +13,6 @@ #ifndef __VTECH_IOEXP_PRINTER_H__ #define __VTECH_IOEXP_PRINTER_H__ -#include "emu.h" #include "ioexp.h" #include "bus/centronics/ctronics.h" diff --git a/src/devices/bus/vtech/memexp/carts.cpp b/src/devices/bus/vtech/memexp/carts.cpp index f46a15e4841..c4dddf1bbae 100644 --- a/src/devices/bus/vtech/memexp/carts.cpp +++ b/src/devices/bus/vtech/memexp/carts.cpp @@ -6,6 +6,7 @@ ***************************************************************************/ +#include "emu.h" #include "carts.h" SLOT_INTERFACE_START( memexp_slot_carts ) diff --git a/src/devices/bus/vtech/memexp/carts.h b/src/devices/bus/vtech/memexp/carts.h index 92dd90390ae..bfbe697b7aa 100644 --- a/src/devices/bus/vtech/memexp/carts.h +++ b/src/devices/bus/vtech/memexp/carts.h @@ -11,7 +11,6 @@ #ifndef __VTECH_MEMEXP_CARTS_H__ #define __VTECH_MEMEXP_CARTS_H__ -#include "emu.h" #include "floppy.h" #include "memory.h" diff --git a/src/devices/bus/vtech/memexp/floppy.cpp b/src/devices/bus/vtech/memexp/floppy.cpp index c5645606f52..0aca11479a0 100644 --- a/src/devices/bus/vtech/memexp/floppy.cpp +++ b/src/devices/bus/vtech/memexp/floppy.cpp @@ -9,6 +9,7 @@ ***************************************************************************/ +#include "emu.h" #include "floppy.h" diff --git a/src/devices/bus/vtech/memexp/floppy.h b/src/devices/bus/vtech/memexp/floppy.h index 9daa4fe2ee7..bc6046a7ec3 100644 --- a/src/devices/bus/vtech/memexp/floppy.h +++ b/src/devices/bus/vtech/memexp/floppy.h @@ -14,7 +14,6 @@ #ifndef __VTECH_MEMEXP_FLOPPY_H__ #define __VTECH_MEMEXP_FLOPPY_H__ -#include "emu.h" #include "memexp.h" #include "imagedev/floppy.h" diff --git a/src/devices/bus/vtech/memexp/memexp.cpp b/src/devices/bus/vtech/memexp/memexp.cpp index 9415ea68320..e568c3e5a02 100644 --- a/src/devices/bus/vtech/memexp/memexp.cpp +++ b/src/devices/bus/vtech/memexp/memexp.cpp @@ -8,6 +8,7 @@ ***************************************************************************/ +#include "emu.h" #include "memexp.h" diff --git a/src/devices/bus/vtech/memexp/memexp.h b/src/devices/bus/vtech/memexp/memexp.h index ca2d677c724..fab938ef488 100644 --- a/src/devices/bus/vtech/memexp/memexp.h +++ b/src/devices/bus/vtech/memexp/memexp.h @@ -36,7 +36,6 @@ #ifndef __VTECH_MEMEXP_H__ #define __VTECH_MEMEXP_H__ -#include "emu.h" //************************************************************************** diff --git a/src/devices/bus/vtech/memexp/memory.cpp b/src/devices/bus/vtech/memexp/memory.cpp index b294f4a8ff8..db5e07a3348 100644 --- a/src/devices/bus/vtech/memexp/memory.cpp +++ b/src/devices/bus/vtech/memexp/memory.cpp @@ -6,6 +6,7 @@ ***************************************************************************/ +#include "emu.h" #include "memory.h" diff --git a/src/devices/bus/vtech/memexp/memory.h b/src/devices/bus/vtech/memexp/memory.h index bfc727d652e..b330707cc14 100644 --- a/src/devices/bus/vtech/memexp/memory.h +++ b/src/devices/bus/vtech/memexp/memory.h @@ -11,7 +11,6 @@ #ifndef __VTECH_MEMEXP_MEMORY__ #define __VTECH_MEMEXP_MEMORY__ -#include "emu.h" #include "memexp.h" diff --git a/src/devices/bus/vtech/memexp/rs232.cpp b/src/devices/bus/vtech/memexp/rs232.cpp index 1cac4d8212d..7dc5c5a5362 100644 --- a/src/devices/bus/vtech/memexp/rs232.cpp +++ b/src/devices/bus/vtech/memexp/rs232.cpp @@ -6,6 +6,7 @@ ***************************************************************************/ +#include "emu.h" #include "rs232.h" diff --git a/src/devices/bus/vtech/memexp/rs232.h b/src/devices/bus/vtech/memexp/rs232.h index f235670bb3d..4727066a913 100644 --- a/src/devices/bus/vtech/memexp/rs232.h +++ b/src/devices/bus/vtech/memexp/rs232.h @@ -11,7 +11,6 @@ #ifndef __VTECH_MEMEXP_RS232_H__ #define __VTECH_MEMEXP_RS232_H__ -#include "emu.h" #include "memexp.h" #include "bus/rs232/rs232.h" diff --git a/src/devices/bus/vtech/memexp/rtty.cpp b/src/devices/bus/vtech/memexp/rtty.cpp index b1416fbdad1..f96fc3e5ff3 100644 --- a/src/devices/bus/vtech/memexp/rtty.cpp +++ b/src/devices/bus/vtech/memexp/rtty.cpp @@ -6,6 +6,7 @@ ***************************************************************************/ +#include "emu.h" #include "rtty.h" diff --git a/src/devices/bus/vtech/memexp/rtty.h b/src/devices/bus/vtech/memexp/rtty.h index fb65ce1f513..5f16aa6d234 100644 --- a/src/devices/bus/vtech/memexp/rtty.h +++ b/src/devices/bus/vtech/memexp/rtty.h @@ -11,7 +11,6 @@ #ifndef __VTECH_MEMEXP_RTTY_H__ #define __VTECH_MEMEXP_RTTY_H__ -#include "emu.h" #include "memexp.h" diff --git a/src/devices/bus/vtech/memexp/wordpro.cpp b/src/devices/bus/vtech/memexp/wordpro.cpp index 570fe3e431d..d3a1de653c2 100644 --- a/src/devices/bus/vtech/memexp/wordpro.cpp +++ b/src/devices/bus/vtech/memexp/wordpro.cpp @@ -6,6 +6,7 @@ ***************************************************************************/ +#include "emu.h" #include "wordpro.h" diff --git a/src/devices/bus/vtech/memexp/wordpro.h b/src/devices/bus/vtech/memexp/wordpro.h index 51e5b412ab1..0d12ae7a8d5 100644 --- a/src/devices/bus/vtech/memexp/wordpro.h +++ b/src/devices/bus/vtech/memexp/wordpro.h @@ -11,7 +11,6 @@ #ifndef __VTECH_MEMEXP_WORDPRO_H__ #define __VTECH_MEMEXP_WORDPRO_H__ -#include "emu.h" #include "memexp.h" |