summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/includes/nycaptor.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/includes/nycaptor.h')
-rw-r--r--src/mame/includes/nycaptor.h13
1 files changed, 10 insertions, 3 deletions
diff --git a/src/mame/includes/nycaptor.h b/src/mame/includes/nycaptor.h
index 6b616f23bd1..4931d73bcba 100644
--- a/src/mame/includes/nycaptor.h
+++ b/src/mame/includes/nycaptor.h
@@ -1,5 +1,9 @@
// license:BSD-3-Clause
// copyright-holders:Tomasz Slanina
+#ifndef MAME_INCLUDES_NYCAPTOR_H
+#define MAME_INCLUDES_NYCAPTOR_H
+
+#pragma once
#include "machine/gen_latch.h"
#include "machine/input_merger.h"
@@ -10,8 +14,8 @@
class nycaptor_state : public driver_device
{
public:
- nycaptor_state(const machine_config &mconfig, device_type type, const char *tag)
- : driver_device(mconfig, type, tag),
+ nycaptor_state(const machine_config &mconfig, device_type type, const char *tag) :
+ driver_device(mconfig, type, tag),
m_videoram(*this, "videoram"),
m_scrlram(*this, "scrlram"),
m_sharedram(*this, "sharedram"),
@@ -25,7 +29,8 @@ public:
m_palette(*this, "palette"),
m_soundlatch(*this, "soundlatch"),
m_soundlatch2(*this, "soundlatch2"),
- m_soundnmi(*this, "soundnmi") { }
+ m_soundnmi(*this, "soundnmi")
+ { }
void nycaptor(machine_config &config);
void cyclshtg(machine_config &config);
@@ -110,3 +115,5 @@ private:
void nycaptor_slave_map(address_map &map);
void sound_map(address_map &map);
};
+
+#endif // MAME_INCLUDES_NYCAPTOR_H