diff options
Diffstat (limited to 'src/mame/includes/cosmic.h')
-rw-r--r-- | src/mame/includes/cosmic.h | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/src/mame/includes/cosmic.h b/src/mame/includes/cosmic.h index ae11aa0d10b..074b788c4c6 100644 --- a/src/mame/includes/cosmic.h +++ b/src/mame/includes/cosmic.h @@ -5,6 +5,10 @@ Cosmic Guerilla & other Universal boards (in cosmic.c) *************************************************************************/ +#ifndef MAME_INCLUDES_COSMIC_H +#define MAME_INCLUDES_COSMIC_H + +#pragma once #include "machine/timer.h" #include "sound/samples.h" @@ -19,8 +23,8 @@ class cosmic_state : public driver_device { public: - cosmic_state(const machine_config &mconfig, device_type type, const char *tag) - : driver_device(mconfig, type, tag), + cosmic_state(const machine_config &mconfig, device_type type, const char *tag) : + driver_device(mconfig, type, tag), m_videoram(*this, "videoram"), m_spriteram(*this, "spriteram"), m_in_ports(*this, "IN%u", 0), @@ -30,7 +34,8 @@ public: m_dac(*this, "dac"), m_gfxdecode(*this, "gfxdecode"), m_screen(*this, "screen"), - m_palette(*this, "palette") { } + m_palette(*this, "palette") + { } /* memory pointers */ required_shared_ptr<uint8_t> m_videoram; @@ -122,3 +127,5 @@ public: void magspot_map(address_map &map); void panic_map(address_map &map); }; + +#endif // MAME_INCLUDES_COSMIC_H |