summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/includes/dogfgt.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/includes/dogfgt.h')
-rw-r--r--src/mame/includes/dogfgt.h16
1 files changed, 12 insertions, 4 deletions
diff --git a/src/mame/includes/dogfgt.h b/src/mame/includes/dogfgt.h
index 899e3ead329..370b1b34c99 100644
--- a/src/mame/includes/dogfgt.h
+++ b/src/mame/includes/dogfgt.h
@@ -1,5 +1,10 @@
// license:BSD-3-Clause
// copyright-holders:Nicola Salmoria
+#ifndef MAME_INCLUDES_DOGFGT_H
+#define MAME_INCLUDES_DOGFGT_H
+
+#pragma once
+
#include "sound/ay8910.h"
#include "emupal.h"
#include "screen.h"
@@ -11,8 +16,8 @@
class dogfgt_state : public driver_device
{
public:
- dogfgt_state(const machine_config &mconfig, device_type type, const char *tag)
- : driver_device(mconfig, type, tag),
+ dogfgt_state(const machine_config &mconfig, device_type type, const char *tag) :
+ driver_device(mconfig, type, tag),
m_bgvideoram(*this, "bgvideoram"),
m_spriteram(*this, "spriteram"),
m_sharedram(*this, "sharedram"),
@@ -21,7 +26,8 @@ public:
m_gfxdecode(*this, "gfxdecode"),
m_screen(*this, "screen"),
m_palette(*this, "palette"),
- m_ay(*this, "ay%u", 0U) { }
+ m_ay(*this, "ay%u", 0U)
+ { }
void dogfgt(machine_config &config);
@@ -74,8 +80,10 @@ private:
TILE_GET_INFO_MEMBER(get_tile_info);
DECLARE_PALETTE_INIT(dogfgt);
uint32_t screen_update(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect);
- void draw_sprites( bitmap_ind16 &bitmap,const rectangle &cliprect );
+ void draw_sprites(bitmap_ind16 &bitmap,const rectangle &cliprect);
void main_map(address_map &map);
void sub_map(address_map &map);
};
+
+#endif // MAME_INCLUDES_DOGFGT_H