summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/includes/gberet.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/includes/gberet.h')
-rw-r--r--src/mame/includes/gberet.h17
1 files changed, 12 insertions, 5 deletions
diff --git a/src/mame/includes/gberet.h b/src/mame/includes/gberet.h
index e14bac0aeea..48299877ec9 100644
--- a/src/mame/includes/gberet.h
+++ b/src/mame/includes/gberet.h
@@ -5,6 +5,10 @@
Green Beret
***************************************************************************/
+#ifndef MAME_INCLUDES_GBERET_H
+#define MAME_INCLUDES_GBERET_H
+
+#pragma once
#include "machine/timer.h"
#include "sound/sn76496.h"
@@ -13,8 +17,8 @@
class gberet_state : public driver_device
{
public:
- gberet_state(const machine_config &mconfig, device_type type, const char *tag)
- : driver_device(mconfig, type, tag),
+ gberet_state(const machine_config &mconfig, device_type type, const char *tag) :
+ driver_device(mconfig, type, tag),
m_colorram(*this, "colorram"),
m_videoram(*this, "videoram"),
m_spriteram2(*this, "spriteram2"),
@@ -24,7 +28,8 @@ public:
m_sn(*this, "snsnd") ,
m_maincpu(*this, "maincpu"),
m_gfxdecode(*this, "gfxdecode"),
- m_palette(*this, "palette") { }
+ m_palette(*this, "palette")
+ { }
void gberetb(machine_config &config);
void mrgoemon(machine_config &config);
@@ -71,8 +76,8 @@ private:
uint32_t screen_update_gberet(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect);
uint32_t screen_update_gberetb(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect);
TIMER_DEVICE_CALLBACK_MEMBER(gberet_interrupt_tick);
- void gberet_draw_sprites( bitmap_ind16 &bitmap, const rectangle &cliprect );
- void gberetb_draw_sprites( bitmap_ind16 &bitmap, const rectangle &cliprect );
+ void gberet_draw_sprites(bitmap_ind16 &bitmap, const rectangle &cliprect);
+ void gberetb_draw_sprites(bitmap_ind16 &bitmap, const rectangle &cliprect);
required_device<cpu_device> m_maincpu;
required_device<gfxdecode_device> m_gfxdecode;
required_device<palette_device> m_palette;
@@ -80,3 +85,5 @@ private:
void gberetb_map(address_map &map);
void mrgoemon_map(address_map &map);
};
+
+#endif // MAME_INCLUDES_GBERET_H