summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/includes/pooyan.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/includes/pooyan.h')
-rw-r--r--src/mame/includes/pooyan.h13
1 files changed, 10 insertions, 3 deletions
diff --git a/src/mame/includes/pooyan.h b/src/mame/includes/pooyan.h
index 4988429bea7..31a4396bb9d 100644
--- a/src/mame/includes/pooyan.h
+++ b/src/mame/includes/pooyan.h
@@ -1,20 +1,25 @@
// license:BSD-3-Clause
// copyright-holders:Allard van der Bas
+#ifndef MAME_INCLUDES_POOYAN_H
+#define MAME_INCLUDES_POOYAN_H
+
+#pragma once
#include "emupal.h"
class pooyan_state : public driver_device
{
public:
- pooyan_state(const machine_config &mconfig, device_type type, const char *tag)
- : driver_device(mconfig, type, tag),
+ pooyan_state(const machine_config &mconfig, device_type type, const char *tag) :
+ driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_gfxdecode(*this, "gfxdecode"),
m_palette(*this, "palette"),
m_colorram(*this, "colorram"),
m_videoram(*this, "videoram"),
m_spriteram(*this, "spriteram"),
- m_spriteram2(*this, "spriteram2") { }
+ m_spriteram2(*this, "spriteram2")
+ { }
void pooyan(machine_config &config);
@@ -55,3 +60,5 @@ private:
DECLARE_WRITE_LINE_MEMBER(vblank_irq);
void main_map(address_map &map);
};
+
+#endif // MAME_INCLUDES_POOYAN_H