summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/includes/aquarium.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/includes/aquarium.h')
-rw-r--r--src/mame/includes/aquarium.h12
1 files changed, 9 insertions, 3 deletions
diff --git a/src/mame/includes/aquarium.h b/src/mame/includes/aquarium.h
index cce419c1a37..a5ef0d04b21 100644
--- a/src/mame/includes/aquarium.h
+++ b/src/mame/includes/aquarium.h
@@ -1,5 +1,9 @@
// license:BSD-3-Clause
// copyright-holders:David Haywood
+#ifndef MAME_INCLUDES_AQUARIUM_H
+#define MAME_INCLUDES_AQUARIUM_H
+
+#pragma once
#include "machine/gen_latch.h"
#include "machine/mb3773.h"
@@ -11,8 +15,8 @@
class aquarium_state : public driver_device
{
public:
- aquarium_state(const machine_config &mconfig, device_type type, const char *tag)
- : driver_device(mconfig, type, tag),
+ aquarium_state(const machine_config &mconfig, device_type type, const char *tag) :
+ driver_device(mconfig, type, tag),
m_mid_videoram(*this, "mid_videoram"),
m_bak_videoram(*this, "bak_videoram"),
m_txt_videoram(*this, "txt_videoram"),
@@ -26,7 +30,7 @@ public:
m_screen(*this, "screen"),
m_soundlatch(*this, "soundlatch"),
m_watchdog(*this, "watchdog")
- { }
+ { }
/* memory pointers */
required_shared_ptr<uint16_t> m_mid_videoram;
@@ -71,3 +75,5 @@ public:
void snd_map(address_map &map);
void snd_portmap(address_map &map);
};
+
+#endif // MAME_INCLUDES_AQUARIUM_H