summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/includes/pcktgal.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/includes/pcktgal.h')
-rw-r--r--src/mame/includes/pcktgal.h13
1 files changed, 10 insertions, 3 deletions
diff --git a/src/mame/includes/pcktgal.h b/src/mame/includes/pcktgal.h
index 050be605ab8..cfe3f886eb4 100644
--- a/src/mame/includes/pcktgal.h
+++ b/src/mame/includes/pcktgal.h
@@ -1,5 +1,9 @@
// license:BSD-3-Clause
// copyright-holders:Bryan McPhail
+#ifndef MAME_INCLUDES_PCKTGAL_H
+#define MAME_INCLUDES_PCKTGAL_H
+
+#pragma once
#include "machine/gen_latch.h"
#include "sound/msm5205.h"
@@ -9,8 +13,8 @@
class pcktgal_state : public driver_device
{
public:
- pcktgal_state(const machine_config &mconfig, device_type type, const char *tag)
- : driver_device(mconfig, type, tag),
+ pcktgal_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_msm(*this, "msm"),
@@ -18,7 +22,8 @@ public:
m_gfxdecode(*this, "gfxdecode"),
m_palette(*this, "palette"),
m_soundlatch(*this, "soundlatch"),
- m_spriteram(*this, "spriteram") { }
+ m_spriteram(*this, "spriteram")
+ { }
required_device<cpu_device> m_maincpu;
required_device<cpu_device> m_audiocpu;
@@ -53,3 +58,5 @@ public:
void pcktgal_map(address_map &map);
void pcktgal_sound_map(address_map &map);
};
+
+#endif // MAME_INCLUDES_PCKTGAL_H