summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/includes/lasso.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/includes/lasso.h')
-rw-r--r--src/mame/includes/lasso.h13
1 files changed, 10 insertions, 3 deletions
diff --git a/src/mame/includes/lasso.h b/src/mame/includes/lasso.h
index 179dbaf7359..c1642a8f8c0 100644
--- a/src/mame/includes/lasso.h
+++ b/src/mame/includes/lasso.h
@@ -5,6 +5,10 @@
Lasso and similar hardware
***************************************************************************/
+#ifndef MAME_INCLUDES_LASSO_H
+#define MAME_INCLUDES_LASSO_H
+
+#pragma once
#include "machine/gen_latch.h"
#include "sound/sn76496.h"
@@ -13,8 +17,8 @@
class lasso_state : public driver_device
{
public:
- lasso_state(const machine_config &mconfig, device_type type, const char *tag)
- : driver_device(mconfig, type, tag),
+ lasso_state(const machine_config &mconfig, device_type type, const char *tag) :
+ driver_device(mconfig, type, tag),
m_videoram(*this, "videoram"),
m_colorram(*this, "colorram"),
m_spriteram(*this, "spriteram"),
@@ -29,7 +33,8 @@ public:
m_sn_2(*this, "sn76489.2"),
m_gfxdecode(*this, "gfxdecode"),
m_palette(*this, "palette"),
- m_soundlatch(*this, "soundlatch") { }
+ m_soundlatch(*this, "soundlatch")
+ { }
void base(machine_config &config);
void wwjgtin(machine_config &config);
@@ -104,3 +109,5 @@ private:
void wwjgtin_audio_map(address_map &map);
void wwjgtin_main_map(address_map &map);
};
+
+#endif // MAME_INCLUDES_LASSO_H