summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/videopkr.cpp
diff options
context:
space:
mode:
author Vas Crabb <vas@vastheman.com>2017-02-27 22:16:07 +1100
committer Vas Crabb <vas@vastheman.com>2017-02-27 22:57:14 +1100
commit6c23897483a0201dd0b65b450253fd9bf8fb8723 (patch)
tree62a083b4801f63b09bed57ae0c9e8f646aaa3200 /src/mame/drivers/videopkr.cpp
parentb07c572f709e95dcd1e2e4b9d4c696e122f67655 (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/drivers/videopkr.cpp')
-rw-r--r--src/mame/drivers/videopkr.cpp23
1 files changed, 14 insertions, 9 deletions
diff --git a/src/mame/drivers/videopkr.cpp b/src/mame/drivers/videopkr.cpp
index 282246b1242..26b0b171ac2 100644
--- a/src/mame/drivers/videopkr.cpp
+++ b/src/mame/drivers/videopkr.cpp
@@ -273,25 +273,30 @@
**************************************************************************/
-#define CPU_CLOCK (XTAL_6MHz) /* main cpu clock */
-#define CPU_CLOCK_ALT (XTAL_8MHz) /* alternative main cpu clock for newer games */
-#define SOUND_CLOCK (XTAL_8MHz) /* sound cpu clock */
-#define VIDEO_CLOCK (XTAL_7.8643MHz)
-
-
#include "emu.h"
+
#include "cpu/mcs48/mcs48.h"
#include "cpu/mcs51/mcs51.h"
#include "machine/nvram.h"
#include "sound/ay8910.h"
#include "sound/dac.h"
#include "sound/volt_reg.h"
-#include "videopkr.lh"
+
+#include "screen.h"
+#include "speaker.h"
+
+#include "babydad.lh"
+#include "babypkr.lh"
#include "blckjack.lh"
#include "videocba.lh"
#include "videodad.lh"
-#include "babypkr.lh"
-#include "babydad.lh"
+#include "videopkr.lh"
+
+
+#define CPU_CLOCK (XTAL_6MHz) /* main cpu clock */
+#define CPU_CLOCK_ALT (XTAL_8MHz) /* alternative main cpu clock for newer games */
+#define SOUND_CLOCK (XTAL_8MHz) /* sound cpu clock */
+#define VIDEO_CLOCK (XTAL_7.8643MHz)
class videopkr_state : public driver_device