summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/includes/higemaru.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/includes/higemaru.h')
-rw-r--r--src/mame/includes/higemaru.h13
1 files changed, 10 insertions, 3 deletions
diff --git a/src/mame/includes/higemaru.h b/src/mame/includes/higemaru.h
index 9c8b595ee34..7d184898120 100644
--- a/src/mame/includes/higemaru.h
+++ b/src/mame/includes/higemaru.h
@@ -5,6 +5,10 @@
Pirate Ship Higemaru
*************************************************************************/
+#ifndef MAME_INCLUDES_HIGEMARU_H
+#define MAME_INCLUDES_HIGEMARU_H
+
+#pragma once
#include "machine/timer.h"
#include "emupal.h"
@@ -12,14 +16,15 @@
class higemaru_state : public driver_device
{
public:
- higemaru_state(const machine_config &mconfig, device_type type, const char *tag)
- : driver_device(mconfig, type, tag),
+ higemaru_state(const machine_config &mconfig, device_type type, const char *tag) :
+ driver_device(mconfig, type, tag),
m_videoram(*this, "videoram"),
m_colorram(*this, "colorram"),
m_spriteram(*this, "spriteram"),
m_maincpu(*this, "maincpu"),
m_gfxdecode(*this, "gfxdecode"),
- m_palette(*this, "palette") { }
+ m_palette(*this, "palette")
+ { }
void higemaru(machine_config &config);
@@ -45,3 +50,5 @@ private:
required_device<palette_device> m_palette;
void higemaru_map(address_map &map);
};
+
+#endif // MAME_INCLUDES_HIGEMARU_H