summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/includes/pbaction.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/includes/pbaction.h')
-rw-r--r--src/mame/includes/pbaction.h13
1 files changed, 10 insertions, 3 deletions
diff --git a/src/mame/includes/pbaction.h b/src/mame/includes/pbaction.h
index 58ab46dd00d..f5038b82d73 100644
--- a/src/mame/includes/pbaction.h
+++ b/src/mame/includes/pbaction.h
@@ -5,6 +5,10 @@
Pinball Action
*************************************************************************/
+#ifndef MAME_INCLUDES_PBACTION_H
+#define MAME_INCLUDES_PBACTION_H
+
+#pragma once
#include "cpu/z80/z80.h"
#include "machine/gen_latch.h"
@@ -14,8 +18,8 @@
class pbaction_state : public driver_device
{
public:
- pbaction_state(const machine_config &mconfig, device_type type, const char *tag)
- : driver_device(mconfig, type, tag),
+ pbaction_state(const machine_config &mconfig, device_type type, const char *tag) :
+ driver_device(mconfig, type, tag),
m_videoram(*this, "videoram"),
m_videoram2(*this, "videoram2"),
m_colorram(*this, "colorram"),
@@ -28,7 +32,8 @@ public:
m_palette(*this, "palette"),
m_soundlatch(*this, "soundlatch"),
m_ctc(*this, "ctc"),
- m_decrypted_opcodes(*this, "decrypted_opcodes") { }
+ m_decrypted_opcodes(*this, "decrypted_opcodes")
+ { }
/* memory pointers */
required_shared_ptr<uint8_t> m_videoram;
@@ -128,3 +133,5 @@ private:
uint8_t m_outlatch;
uint32_t m_outdata;
};
+
+#endif // MAME_INCLUDES_PBACTION_H