summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/includes/legionna.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/includes/legionna.h')
-rw-r--r--src/mame/includes/legionna.h36
1 files changed, 21 insertions, 15 deletions
diff --git a/src/mame/includes/legionna.h b/src/mame/includes/legionna.h
index a9924910073..7e24979c6f6 100644
--- a/src/mame/includes/legionna.h
+++ b/src/mame/includes/legionna.h
@@ -1,5 +1,9 @@
// license:BSD-3-Clause
// copyright-holders:David Graves, Angelo Salese, David Haywood, Tomasz Slanina
+#ifndef MAME_INCLUDES_LEGIONNA_H
+#define MAME_INCLUDES_LEGIONNA_H
+
+#pragma once
#include "sound/okim6295.h"
#include "audio/seibu.h"
@@ -12,21 +16,21 @@ class legionna_state : public driver_device, protected seibu_sound_common
{
public:
legionna_state(const machine_config &mconfig, device_type type, const char *tag)
- : driver_device(mconfig, type, tag),
- m_spriteram(*this, "spriteram"),
- m_swappal(*this, "swappal"),
- m_layer_disable(0),
- m_back_gfx_bank(0),
- m_fore_gfx_bank(0),
- m_mid_gfx_bank(0),
- m_maincpu(*this, "maincpu"),
- m_audiocpu(*this, "audiocpu"),
- m_seibu_sound(*this, "seibu_sound"),
- m_oki(*this, "oki"),
- m_gfxdecode(*this, "gfxdecode"),
- m_palette(*this, "palette"),
- m_crtc(*this, "crtc"),
- m_raiden2cop(*this, "raiden2cop")
+ : driver_device(mconfig, type, tag)
+ , m_spriteram(*this, "spriteram")
+ , m_swappal(*this, "swappal")
+ , m_layer_disable(0)
+ , m_back_gfx_bank(0)
+ , m_fore_gfx_bank(0)
+ , m_mid_gfx_bank(0)
+ , m_maincpu(*this, "maincpu")
+ , m_audiocpu(*this, "audiocpu")
+ , m_seibu_sound(*this, "seibu_sound")
+ , m_oki(*this, "oki")
+ , m_gfxdecode(*this, "gfxdecode")
+ , m_palette(*this, "palette")
+ , m_crtc(*this, "crtc")
+ , m_raiden2cop(*this, "raiden2cop")
{
memset(scrollvals, 0, sizeof(uint16_t)*6);
}
@@ -126,3 +130,5 @@ private:
void legionna_map(address_map &map);
void godzilla_sound_io_map(address_map &map);
};
+
+#endif // MAME_INCLUDES_LEGIONNA_H