summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/includes/lazercmd.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/includes/lazercmd.h')
-rw-r--r--src/mame/includes/lazercmd.h10
1 files changed, 8 insertions, 2 deletions
diff --git a/src/mame/includes/lazercmd.h b/src/mame/includes/lazercmd.h
index 44c02722553..e2d3e5e3499 100644
--- a/src/mame/includes/lazercmd.h
+++ b/src/mame/includes/lazercmd.h
@@ -1,5 +1,9 @@
// license:GPL-2.0+
// copyright-holders:Juergen Buchmueller
+#ifndef MAME_INCLUDES_LAZERCMD_H
+#define MAME_INCLUDES_LAZERCMD_H
+
+#pragma once
#include "cpu/s2650/s2650.h"
#include "machine/timer.h"
@@ -28,8 +32,8 @@
class lazercmd_state : public driver_device
{
public:
- lazercmd_state(const machine_config &mconfig, device_type type, const char *tag)
- : driver_device(mconfig, type, tag),
+ lazercmd_state(const machine_config &mconfig, device_type type, const char *tag) :
+ driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_dac0(*this, "dac0"),
m_dac1(*this, "dac1"),
@@ -89,3 +93,5 @@ private:
void lazercmd_portmap(address_map &map);
void medlanes_map(address_map &map);
};
+
+#endif // MAME_INCLUDES_LAZERCMD_H