diff options
author | 2017-02-27 22:16:07 +1100 | |
---|---|---|
committer | 2017-02-27 22:57:14 +1100 | |
commit | 6c23897483a0201dd0b65b450253fd9bf8fb8723 (patch) | |
tree | 62a083b4801f63b09bed57ae0c9e8f646aaa3200 /src/mame/machine/atarixga.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/machine/atarixga.cpp')
-rw-r--r-- | src/mame/machine/atarixga.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mame/machine/atarixga.cpp b/src/mame/machine/atarixga.cpp index cd574d48db9..37636902aea 100644 --- a/src/mame/machine/atarixga.cpp +++ b/src/mame/machine/atarixga.cpp @@ -63,7 +63,7 @@ static uint16_t parity(uint16_t x) * *************************************/ -extern const device_type ATARI_136094_0072 = &device_creator<atari_136094_0072_device>; +const device_type ATARI_136094_0072 = device_creator<atari_136094_0072_device>; atari_136094_0072_device::atari_136094_0072_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock) : atari_xga_device(mconfig, ATARI_136094_0072, tag, owner, clock, "Atari 136094-0072 XGA", "136094-0072") @@ -283,7 +283,7 @@ READ32_MEMBER(atari_136094_0072_device::read) * *************************************/ -extern const device_type ATARI_136095_0072 = &device_creator<atari_136095_0072_device>; +const device_type ATARI_136095_0072 = device_creator<atari_136095_0072_device>; atari_136095_0072_device::atari_136095_0072_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock) : atari_xga_device(mconfig, ATARI_136095_0072, tag, owner, clock, "Atari 136095-0072 XGA", "136095-0072") |