summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/machine/deco104.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/machine/deco104.h')
-rw-r--r--src/mame/machine/deco104.h24
1 files changed, 5 insertions, 19 deletions
diff --git a/src/mame/machine/deco104.h b/src/mame/machine/deco104.h
index cae62defaf0..e9bde950888 100644
--- a/src/mame/machine/deco104.h
+++ b/src/mame/machine/deco104.h
@@ -1,13 +1,13 @@
// license:BSD-3-Clause
// copyright-holders:David Haywood
+#ifndef MAME_MACHINE_DECO104_H
+#define MAME_MACHINE_DECO104_H
+
#pragma once
-#ifndef __DECO104_H__
-#define __DECO104_H__
#include "deco146.h"
-
/* Data East 104 protection chip */
class deco104_device : public deco_146_base_device
@@ -15,29 +15,15 @@ class deco104_device : public deco_146_base_device
public:
deco104_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock);
-
-
-
protected:
virtual void device_start() override;
virtual void device_reset() override;
-
-
-
-
-
-private:
-
-
};
-extern const device_type DECO104PROT;
+DECLARE_DEVICE_TYPE(DECO104PROT, deco104_device)
#define MCFG_DECO104_ADD(_tag) \
MCFG_DEVICE_ADD(_tag, DECO104PROT, 0)
-
-
-
-#endif
+#endif // MAME_MACHINE_DECO104_H