diff options
Diffstat (limited to 'src/mame/includes/armedf.h')
-rw-r--r-- | src/mame/includes/armedf.h | 20 |
1 files changed, 13 insertions, 7 deletions
diff --git a/src/mame/includes/armedf.h b/src/mame/includes/armedf.h index 77741c3b870..60df76e44b4 100644 --- a/src/mame/includes/armedf.h +++ b/src/mame/includes/armedf.h @@ -1,5 +1,9 @@ // license:BSD-3-Clause // copyright-holders:David Haywood, Phil Stroffolino, Carlos A. Lozano +#ifndef MAME_INCLUDES_ARMEDF_H +#define MAME_INCLUDES_ARMEDF_H + +#pragma once #include "machine/nb1414m4.h" #include "machine/gen_latch.h" @@ -9,8 +13,8 @@ class armedf_state : public driver_device { public: - armedf_state(const machine_config &mconfig, device_type type, const char *tag) - : driver_device(mconfig, type, tag), + armedf_state(const machine_config &mconfig, device_type type, const char *tag) : + driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_extra(*this, "extra"), m_nb1414m4(*this, "nb1414m4"), @@ -60,14 +64,14 @@ protected: required_device<buffered_spriteram16_device> m_spriteram; required_device<generic_latch_8_device> m_soundlatch; - /* memory pointers */ + // memory pointers std::unique_ptr<uint8_t[]> m_text_videoram; required_shared_ptr<uint16_t> m_spr_pal_clut; required_shared_ptr<uint16_t> m_fg_videoram; required_shared_ptr<uint16_t> m_bg_videoram; uint16_t m_legion_cmd[4]; // legionjb only! - /* video-related */ + // video-related tilemap_t *m_bg_tilemap; tilemap_t *m_fg_tilemap; tilemap_t *m_tx_tilemap; @@ -139,11 +143,11 @@ protected: class bigfghtr_state : public armedf_state { public: - bigfghtr_state(const machine_config &mconfig, device_type type, const char *tag) - : armedf_state(mconfig, type, tag), + bigfghtr_state(const machine_config &mconfig, device_type type, const char *tag) : + armedf_state(mconfig, type, tag), m_mcu(*this, "mcu"), m_sharedram(*this, "sharedram") - { } + { } void bigfghtr(machine_config &config); @@ -159,3 +163,5 @@ private: void bigfghtr_mcu_io_map(address_map &map); void bigfghtr_mcu_map(address_map &map); }; + +#endif // MAME_INCLUDES_ARMEDF_H |