summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/includes/spbactn.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/includes/spbactn.h')
-rw-r--r--src/mame/includes/spbactn.h12
1 files changed, 9 insertions, 3 deletions
diff --git a/src/mame/includes/spbactn.h b/src/mame/includes/spbactn.h
index 221a4d09c6d..4b0975858f7 100644
--- a/src/mame/includes/spbactn.h
+++ b/src/mame/includes/spbactn.h
@@ -1,5 +1,9 @@
// license:BSD-3-Clause
// copyright-holders:David Haywood
+#ifndef MAME_INCLUDES_SPBACTN_H
+#define MAME_INCLUDES_SPBACTN_H
+
+#pragma once
#include "machine/gen_latch.h"
#include "video/tecmo_spr.h"
@@ -10,8 +14,8 @@
class spbactn_state : public driver_device
{
public:
- spbactn_state(const machine_config &mconfig, device_type type, const char *tag)
- : driver_device(mconfig, type, tag),
+ spbactn_state(const machine_config &mconfig, device_type type, const char *tag) :
+ driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_audiocpu(*this, "audiocpu"),
m_gfxdecode(*this, "gfxdecode"),
@@ -25,7 +29,7 @@ public:
m_spvideoram(*this, "spvideoram"),
m_extraram(*this, "extraram"),
m_extraram2(*this, "extraram2")
- { }
+ { }
void spbactn(machine_config &config);
void spbactnp(machine_config &config);
@@ -92,3 +96,5 @@ private:
void spbactnp_extra_map(address_map &map);
void spbactnp_map(address_map &map);
};
+
+#endif // MAME_INCLUDES_SPBACTN_H