summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/includes/centiped.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/includes/centiped.h')
-rw-r--r--src/mame/includes/centiped.h13
1 files changed, 10 insertions, 3 deletions
diff --git a/src/mame/includes/centiped.h b/src/mame/includes/centiped.h
index 6cfc6df5509..badd535148f 100644
--- a/src/mame/includes/centiped.h
+++ b/src/mame/includes/centiped.h
@@ -5,6 +5,10 @@
Atari Centipede hardware
*************************************************************************/
+#ifndef MAME_INCLUDES_CENTIPED_H
+#define MAME_INCLUDES_CENTIPED_H
+
+#pragma once
#include "machine/eepromser.h"
#include "machine/timer.h"
@@ -15,8 +19,8 @@
class centiped_state : public driver_device
{
public:
- centiped_state(const machine_config &mconfig, device_type type, const char *tag)
- : driver_device(mconfig, type, tag),
+ centiped_state(const machine_config &mconfig, device_type type, const char *tag) :
+ driver_device(mconfig, type, tag),
m_rambase(*this, "rambase"),
m_videoram(*this, "videoram"),
m_spriteram(*this, "spriteram"),
@@ -27,7 +31,8 @@ public:
m_gfxdecode(*this, "gfxdecode"),
m_screen(*this, "screen"),
m_palette(*this, "palette"),
- m_aysnd(*this, "aysnd") { }
+ m_aysnd(*this, "aysnd")
+ { }
void centiped_base(machine_config &config);
void milliped(machine_config &config);
@@ -135,3 +140,5 @@ private:
void multiped_map(address_map &map);
void warlords_map(address_map &map);
};
+
+#endif // MAME_INCLUDES_CENTIPED_H