summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/includes/goindol.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/includes/goindol.h')
-rw-r--r--src/mame/includes/goindol.h13
1 files changed, 10 insertions, 3 deletions
diff --git a/src/mame/includes/goindol.h b/src/mame/includes/goindol.h
index 5b6a2c178eb..f475a9df5dc 100644
--- a/src/mame/includes/goindol.h
+++ b/src/mame/includes/goindol.h
@@ -5,14 +5,18 @@
Goindol
*************************************************************************/
+#ifndef MAME_INCLUDES_GOINDOL_H
+#define MAME_INCLUDES_GOINDOL_H
+
+#pragma once
#include "emupal.h"
class goindol_state : public driver_device
{
public:
- goindol_state(const machine_config &mconfig, device_type type, const char *tag)
- : driver_device(mconfig, type, tag),
+ goindol_state(const machine_config &mconfig, device_type type, const char *tag) :
+ driver_device(mconfig, type, tag),
m_ram(*this, "ram"),
m_fg_scrolly(*this, "fg_scrolly"),
m_fg_scrollx(*this, "fg_scrollx"),
@@ -22,7 +26,8 @@ public:
m_fg_videoram(*this, "fg_videoram"),
m_maincpu(*this, "maincpu"),
m_gfxdecode(*this, "gfxdecode"),
- m_palette(*this, "palette") { }
+ m_palette(*this, "palette")
+ { }
void goindol(machine_config &config);
void init_goindol();
@@ -65,3 +70,5 @@ private:
void goindol_map(address_map &map);
void sound_map(address_map &map);
};
+
+#endif // MAME_INCLUDES_GOINDOL_H