summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/includes/speedatk.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/includes/speedatk.h')
-rw-r--r--src/mame/includes/speedatk.h13
1 files changed, 10 insertions, 3 deletions
diff --git a/src/mame/includes/speedatk.h b/src/mame/includes/speedatk.h
index d0ab125e916..9432c6cb33c 100644
--- a/src/mame/includes/speedatk.h
+++ b/src/mame/includes/speedatk.h
@@ -1,5 +1,9 @@
// license:BSD-3-Clause
// copyright-holders:Angelo Salese, Pierpaolo Prazzoli
+#ifndef MAME_INCLUDES_SPEEDATK_H
+#define MAME_INCLUDES_SPEEDATK_H
+
+#pragma once
#include "video/mc6845.h"
#include "emupal.h"
@@ -7,14 +11,15 @@
class speedatk_state : public driver_device
{
public:
- speedatk_state(const machine_config &mconfig, device_type type, const char *tag)
- : driver_device(mconfig, type, tag),
+ speedatk_state(const machine_config &mconfig, device_type type, const char *tag) :
+ driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_crtc(*this, "crtc"),
m_gfxdecode(*this, "gfxdecode"),
m_palette(*this, "palette"),
m_videoram(*this, "videoram"),
- m_colorram(*this, "colorram") { }
+ m_colorram(*this, "colorram")
+ { }
void speedatk(machine_config &config);
@@ -53,3 +58,5 @@ private:
void speedatk_io(address_map &map);
void speedatk_mem(address_map &map);
};
+
+#endif // MAME_INCLUDES_SPEEDATK_H