From 6c23897483a0201dd0b65b450253fd9bf8fb8723 Mon Sep 17 00:00:00 2001 From: Vas Crabb Date: Mon, 27 Feb 2017 22:16:07 +1100 Subject: 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. --- src/mame/drivers/beta.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/mame/drivers/beta.cpp') diff --git a/src/mame/drivers/beta.cpp b/src/mame/drivers/beta.cpp index a762114cb7a..f9e1cbf22de 100644 --- a/src/mame/drivers/beta.cpp +++ b/src/mame/drivers/beta.cpp @@ -34,11 +34,13 @@ #include "cpu/m6502/m6502.h" #include "machine/mos6530n.h" #include "machine/ram.h" -#include "sound/speaker.h" +#include "sound/spkrdev.h" #include "bus/generic/slot.h" #include "bus/generic/carts.h" +#include "speaker.h" + #include "beta.lh" #define SCREEN_TAG "screen" -- cgit v1.2.3