summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/includes/m62.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/includes/m62.h')
-rw-r--r--src/mame/includes/m62.h18
1 files changed, 12 insertions, 6 deletions
diff --git a/src/mame/includes/m62.h b/src/mame/includes/m62.h
index 3039730e3e6..f1122023a89 100644
--- a/src/mame/includes/m62.h
+++ b/src/mame/includes/m62.h
@@ -1,5 +1,9 @@
// license:BSD-3-Clause
// copyright-holders:smf, David Haywood
+#ifndef MAME_INCLUDES_M62_H
+#define MAME_INCLUDES_M62_H
+
+#pragma once
#include "audio/irem.h"
#include "emupal.h"
@@ -7,8 +11,8 @@
class m62_state : public driver_device
{
public:
- m62_state(const machine_config &mconfig, device_type type, const char *tag)
- : driver_device(mconfig, type, tag),
+ m62_state(const machine_config &mconfig, device_type type, const char *tag) :
+ driver_device(mconfig, type, tag),
m_spriteram(*this, "spriteram"),
m_m62_tileram(*this, "m62_tileram"),
m_m62_textram(*this, "m62_textram"),
@@ -146,10 +150,10 @@ private:
uint32_t screen_update_youjyudn(screen_device &screen, bitmap_rgb32 &bitmap, const rectangle &cliprect);
uint32_t screen_update_horizon(screen_device &screen, bitmap_rgb32 &bitmap, const rectangle &cliprect);
void m62_amplify_contrast(bool include_fg);
- void register_savestate( );
- void draw_sprites( bitmap_rgb32 &bitmap, const rectangle &cliprect, int colormask, int prioritymask, int priority );
- void m62_start( tilemap_get_info_delegate tile_get_info, int rows, int cols, int x1, int y1, int x2, int y2 );
- void m62_textlayer( tilemap_get_info_delegate tile_get_info, int rows, int cols, int x1, int y1, int x2, int y2 );
+ void register_savestate();
+ void draw_sprites(bitmap_rgb32 &bitmap, const rectangle &cliprect, int colormask, int prioritymask, int priority);
+ void m62_start(tilemap_get_info_delegate tile_get_info, int rows, int cols, int x1, int y1, int x2, int y2);
+ void m62_textlayer(tilemap_get_info_delegate tile_get_info, int rows, int cols, int x1, int y1, int x2, int y2);
required_device<cpu_device> m_maincpu;
optional_device<gfxdecode_device> m_fg_decode;
required_device<gfxdecode_device> m_spr_decode;
@@ -179,3 +183,5 @@ private:
void youjyudn_io_map(address_map &map);
void youjyudn_map(address_map &map);
};
+
+#endif // MAME_INCLUDES_M62_H