summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/includes/naughtyb.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/includes/naughtyb.h')
-rw-r--r--src/mame/includes/naughtyb.h14
1 files changed, 11 insertions, 3 deletions
diff --git a/src/mame/includes/naughtyb.h b/src/mame/includes/naughtyb.h
index d53355feb35..1b226cd3f32 100644
--- a/src/mame/includes/naughtyb.h
+++ b/src/mame/includes/naughtyb.h
@@ -1,5 +1,10 @@
// license:BSD-3-Clause
// copyright-holders:Brad Oliver,Sal and John Bugliarisi,Paul Priest
+#ifndef MAME_INCLUDES_NAUGHTYB_H
+#define MAME_INCLUDES_NAUGHTYB_H
+
+#pragma once
+
#include "audio/pleiads.h"
#include "emupal.h"
#include "screen.h"
@@ -7,8 +12,8 @@
class naughtyb_state : public driver_device
{
public:
- naughtyb_state(const machine_config &mconfig, device_type type, const char *tag)
- : driver_device(mconfig, type, tag),
+ naughtyb_state(const machine_config &mconfig, device_type type, const char *tag) :
+ driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_naughtyb_custom(*this, "naughtyb_custom"),
m_popflame_custom(*this, "popflame_custom"),
@@ -17,7 +22,8 @@ public:
m_palette(*this, "palette"),
m_videoram(*this, "videoram"),
m_videoram2(*this, "videoram2"),
- m_scrollreg(*this, "scrollreg") { }
+ m_scrollreg(*this, "scrollreg")
+ { }
void popflame(machine_config &config);
void naughtyb(machine_config &config);
@@ -67,3 +73,5 @@ private:
void naughtyb_map(address_map &map);
void popflame_map(address_map &map);
};
+
+#endif // MAME_INCLUDES_NAUGHTYB_H