summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/includes/ojankohs.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/includes/ojankohs.h')
-rw-r--r--src/mame/includes/ojankohs.h11
1 files changed, 10 insertions, 1 deletions
diff --git a/src/mame/includes/ojankohs.h b/src/mame/includes/ojankohs.h
index 747d3ea058b..1a0dca5c8ba 100644
--- a/src/mame/includes/ojankohs.h
+++ b/src/mame/includes/ojankohs.h
@@ -5,6 +5,11 @@
Ojanko High School & other Video System mahjong series
*************************************************************************/
+#ifndef MAME_INCLUDES_OJANKOHS_H
+#define MAME_INCLUDES_OJANKOHS_H
+
+#pragma once
+
#include "sound/msm5205.h"
#include "emupal.h"
#include "screen.h"
@@ -36,6 +41,9 @@ public:
void ojankoc(machine_config &config);
void ojankoy(machine_config &config);
+protected:
+ virtual void machine_reset() override;
+
private:
/* memory pointers */
optional_shared_ptr<uint8_t> m_videoram;
@@ -100,7 +108,6 @@ private:
DECLARE_READ8_MEMBER(ojankohs_dipsw2_r);
TILE_GET_INFO_MEMBER(ojankohs_get_tile_info);
TILE_GET_INFO_MEMBER(ojankoy_get_tile_info);
- virtual void machine_reset() override;
DECLARE_MACHINE_START(ojankohs);
DECLARE_VIDEO_START(ojankohs);
DECLARE_MACHINE_START(ojankoy);
@@ -123,3 +130,5 @@ private:
void ojankoy_io_map(address_map &map);
void ojankoy_map(address_map &map);
};
+
+#endif // MAME_INCLUDES_OJANKOHS_H