summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/includes/hcastle.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/includes/hcastle.h')
-rw-r--r--src/mame/includes/hcastle.h17
1 files changed, 12 insertions, 5 deletions
diff --git a/src/mame/includes/hcastle.h b/src/mame/includes/hcastle.h
index 411e33f0a96..a074d4bf4d4 100644
--- a/src/mame/includes/hcastle.h
+++ b/src/mame/includes/hcastle.h
@@ -5,6 +5,10 @@
Haunted Castle
*************************************************************************/
+#ifndef MAME_INCLUDES_HCASTLE_H
+#define MAME_INCLUDES_HCASTLE_H
+
+#pragma once
#include "video/bufsprite.h"
#include "sound/k007232.h"
@@ -14,10 +18,10 @@
class hcastle_state : public driver_device
{
public:
- hcastle_state(const machine_config &mconfig, device_type type, const char *tag)
- : driver_device(mconfig, type, tag),
- m_spriteram(*this, "spriteram"),
- m_spriteram2(*this, "spriteram2") ,
+ hcastle_state(const machine_config &mconfig, device_type type, const char *tag) :
+ driver_device(mconfig, type, tag),
+ m_spriteram(*this, "spriteram"),
+ m_spriteram2(*this, "spriteram2") ,
m_pf1_videoram(*this, "pf1_videoram"),
m_pf2_videoram(*this, "pf2_videoram"),
m_audiocpu(*this, "audiocpu"),
@@ -26,7 +30,8 @@ public:
m_k007232(*this, "k007232"),
m_maincpu(*this, "maincpu"),
m_gfxdecode(*this, "gfxdecode"),
- m_palette(*this, "palette") { }
+ m_palette(*this, "palette")
+ { }
void hcastle(machine_config &config);
@@ -78,3 +83,5 @@ private:
void hcastle_map(address_map &map);
void sound_map(address_map &map);
};
+
+#endif // MAME_INCLUDES_HCASTLE_H