summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/includes/fastlane.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/includes/fastlane.h')
-rw-r--r--src/mame/includes/fastlane.h13
1 files changed, 10 insertions, 3 deletions
diff --git a/src/mame/includes/fastlane.h b/src/mame/includes/fastlane.h
index f536427680e..09b0e033aaf 100644
--- a/src/mame/includes/fastlane.h
+++ b/src/mame/includes/fastlane.h
@@ -5,6 +5,10 @@
Fast Lane
*************************************************************************/
+#ifndef MAME_INCLUDES_FASTLANE_H
+#define MAME_INCLUDES_FASTLANE_H
+
+#pragma once
#include "machine/timer.h"
#include "sound/k007232.h"
@@ -16,8 +20,8 @@
class fastlane_state : public driver_device
{
public:
- fastlane_state(const machine_config &mconfig, device_type type, const char *tag)
- : driver_device(mconfig, type, tag),
+ fastlane_state(const machine_config &mconfig, device_type type, const char *tag) :
+ driver_device(mconfig, type, tag),
m_maincpu(*this,"maincpu"),
m_k007121_regs(*this, "k007121_regs"),
m_videoram1(*this, "videoram1"),
@@ -28,7 +32,8 @@ public:
m_k007121(*this, "k007121"),
m_gfxdecode(*this, "gfxdecode"),
m_screen(*this, "screen"),
- m_palette(*this, "palette") { }
+ m_palette(*this, "palette")
+ { }
void fastlane(machine_config &config);
@@ -74,3 +79,5 @@ private:
DECLARE_WRITE8_MEMBER(volume_callback1);
void fastlane_map(address_map &map);
};
+
+#endif // MAME_INCLUDES_FASTLANE_H