summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/includes/undrfire.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/includes/undrfire.h')
-rw-r--r--src/mame/includes/undrfire.h13
1 files changed, 10 insertions, 3 deletions
diff --git a/src/mame/includes/undrfire.h b/src/mame/includes/undrfire.h
index 3ba716a0a30..344a870b419 100644
--- a/src/mame/includes/undrfire.h
+++ b/src/mame/includes/undrfire.h
@@ -1,5 +1,9 @@
// license:BSD-3-Clause
// copyright-holders:Bryan McPhail, David Graves
+#ifndef MAME_INCLUDES_UNDRFIRE_H
+#define MAME_INCLUDES_UNDRFIRE_H
+
+#pragma
#include "machine/eepromser.h"
#include "video/tc0100scn.h"
@@ -19,8 +23,8 @@ struct uf_tempsprite
class undrfire_state : public driver_device
{
public:
- undrfire_state(const machine_config &mconfig, device_type type, const char *tag)
- : driver_device(mconfig, type, tag),
+ undrfire_state(const machine_config &mconfig, device_type type, const char *tag) :
+ driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_subcpu(*this, "sub"),
m_tc0100scn(*this, "tc0100scn"),
@@ -30,7 +34,8 @@ public:
m_shared_ram(*this, "shared_ram"),
m_spriteram(*this, "spriteram"),
m_gfxdecode(*this, "gfxdecode"),
- m_palette(*this, "palette") { }
+ m_palette(*this, "palette")
+ { }
void undrfire(machine_config &config);
void cbombers(machine_config &config);
@@ -81,3 +86,5 @@ private:
void cbombers_cpub_map(address_map &map);
void undrfire_map(address_map &map);
};
+
+#endif // MAME_INCLUDES_UNDRFIRE_H