summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/includes/wc90.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/includes/wc90.h')
-rw-r--r--src/mame/includes/wc90.h16
1 files changed, 12 insertions, 4 deletions
diff --git a/src/mame/includes/wc90.h b/src/mame/includes/wc90.h
index 16588b3cb48..854d877977e 100644
--- a/src/mame/includes/wc90.h
+++ b/src/mame/includes/wc90.h
@@ -1,5 +1,9 @@
// license:BSD-3-Clause
// copyright-holders:Ernesto Corvi
+#ifndef MAME_INCLUDES_WC90_H
+#define MAME_INCLUDES_WC90_H
+
+#pragma once
#include "machine/gen_latch.h"
#include "video/tecmo_spr.h"
@@ -8,8 +12,8 @@
class wc90_state : public driver_device
{
public:
- wc90_state(const machine_config &mconfig, device_type type, const char *tag)
- : driver_device(mconfig, type, tag),
+ wc90_state(const machine_config &mconfig, device_type type, const char *tag) :
+ driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_audiocpu(*this, "audiocpu"),
m_gfxdecode(*this, "gfxdecode"),
@@ -40,6 +44,10 @@ public:
void wc90(machine_config &config);
void pac90(machine_config &config);
+protected:
+ virtual void machine_start() override;
+ virtual void video_start() override;
+
private:
required_device<cpu_device> m_maincpu;
required_device<cpu_device> m_audiocpu;
@@ -84,8 +92,6 @@ private:
TILE_GET_INFO_MEMBER(track_get_bg_tile_info);
TILE_GET_INFO_MEMBER(track_get_fg_tile_info);
- virtual void machine_start() override;
- virtual void video_start() override;
DECLARE_VIDEO_START(wc90t);
uint32_t screen_update(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect);
@@ -94,3 +100,5 @@ private:
void wc90_map_1(address_map &map);
void wc90_map_2(address_map &map);
};
+
+#endif // MAME_INCLUDES_WC90_H