summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/includes/zaxxon.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/includes/zaxxon.h')
-rw-r--r--src/mame/includes/zaxxon.h12
1 files changed, 9 insertions, 3 deletions
diff --git a/src/mame/includes/zaxxon.h b/src/mame/includes/zaxxon.h
index 874fb9b0eab..75366e0aab3 100644
--- a/src/mame/includes/zaxxon.h
+++ b/src/mame/includes/zaxxon.h
@@ -5,6 +5,10 @@
Sega Zaxxon hardware
***************************************************************************/
+#ifndef MAME_INCLUDES_ZAXXON_H
+#define MAME_INCLUDES_ZAXXON_H
+
+#pragma once
#include "machine/74259.h"
#include "machine/i8255.h"
@@ -14,8 +18,8 @@
class zaxxon_state : public driver_device
{
public:
- zaxxon_state(const machine_config &mconfig, device_type type, const char *tag)
- : driver_device(mconfig, type, tag),
+ zaxxon_state(const machine_config &mconfig, device_type type, const char *tag) :
+ driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_mainlatch(*this, "mainlatch%u", 1),
m_ppi(*this, "ppi8255"),
@@ -26,7 +30,8 @@ public:
m_videoram(*this, "videoram"),
m_spriteram(*this, "spriteram"),
m_colorram(*this, "colorram"),
- m_decrypted_opcodes(*this, "decrypted_opcodes") { }
+ m_decrypted_opcodes(*this, "decrypted_opcodes")
+ { }
void root(machine_config &config);
void ixion(machine_config &config);
@@ -131,3 +136,4 @@ private:
void zaxxon_map(address_map &map);
};
+#endif // MAME_INCLUDES_ZAXXON_H