diff options
| author | 2017-02-27 22:16:07 +1100 | |
|---|---|---|
| committer | 2017-02-27 22:57:14 +1100 | |
| commit | 6c23897483a0201dd0b65b450253fd9bf8fb8723 (patch) | |
| tree | 62a083b4801f63b09bed57ae0c9e8f646aaa3200 /scripts | |
| 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 'scripts')
| -rw-r--r-- | scripts/src/bus.lua | 1 | ||||
| -rw-r--r-- | scripts/src/sound.lua | 6 |
2 files changed, 4 insertions, 3 deletions
diff --git a/scripts/src/bus.lua b/scripts/src/bus.lua index 76d2e90293c..a21315344d8 100644 --- a/scripts/src/bus.lua +++ b/scripts/src/bus.lua @@ -2319,6 +2319,7 @@ if (BUSES["TI99X"]~=null) then MAME_DIR .. "src/devices/bus/ti99x/joyport.h", MAME_DIR .. "src/devices/bus/ti99x/mecmouse.cpp", MAME_DIR .. "src/devices/bus/ti99x/mecmouse.h", + MAME_DIR .. "src/devices/bus/ti99x/ti99defs.cpp", MAME_DIR .. "src/devices/bus/ti99x/ti99defs.h", } end diff --git a/scripts/src/sound.lua b/scripts/src/sound.lua index fd1dc2f33a3..a4797ce9bf3 100644 --- a/scripts/src/sound.lua +++ b/scripts/src/sound.lua @@ -22,7 +22,7 @@ files { -- DACs --@src/devices/sound/dac.h,SOUNDS["DAC"] = true --@src/devices/sound/dmadac.h,SOUNDS["DMADAC"] = true ---@src/devices/sound/speaker.h,SOUNDS["SPEAKER"] = true +--@src/devices/sound/spkrdev.h,SOUNDS["SPEAKER"] = true --@src/devices/sound/beep.h,SOUNDS["BEEP"] = true --------------------------------------------------- @@ -42,8 +42,8 @@ end if (SOUNDS["SPEAKER"]~=null) then files { - MAME_DIR .. "src/devices/sound/speaker.cpp", - MAME_DIR .. "src/devices/sound/speaker.h", + MAME_DIR .. "src/devices/sound/spkrdev.cpp", + MAME_DIR .. "src/devices/sound/spkrdev.h", } end |
