summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/includes/slapstic.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/includes/slapstic.h')
-rw-r--r--src/mame/includes/slapstic.h30
1 files changed, 5 insertions, 25 deletions
diff --git a/src/mame/includes/slapstic.h b/src/mame/includes/slapstic.h
index f3fdbb9a48c..4e57f5e8d40 100644
--- a/src/mame/includes/slapstic.h
+++ b/src/mame/includes/slapstic.h
@@ -11,16 +11,16 @@
*************************************************************************/
-#pragma once
+#ifndef MAME_INCLUDES_SLAPSTIC_H
+#define MAME_INCLUDES_SLAPSTIC_H
-#ifndef __SLAPSTIC__
-#define __SLAPSTIC__
+#pragma once
#include "cpu/m6800/m6800.h"
#include "cpu/m68000/m68000.h"
-extern const device_type SLAPSTIC;
+DECLARE_DEVICE_TYPE(SLAPSTIC, atari_slapstic_device)
#define MCFG_SLAPSTIC_ADD(_tag, _chip) \
MCFG_DEVICE_ADD(_tag, SLAPSTIC, 0) \
@@ -29,16 +29,6 @@ extern const device_type SLAPSTIC;
/*************************************
*
- * Debugging
- *
- *************************************/
-
-#define LOG_SLAPSTIC (0)
-
-
-
-/*************************************
- *
* Structure of slapstic params
*
*************************************/
@@ -179,16 +169,6 @@ protected:
virtual void device_start() override;
virtual void device_reset() override;
virtual void device_validity_check(validity_checker &valid) const override;
-
-
-private:
-
-
-
-
};
-
-
-
-#endif
+#endif // MAME_INCLUDES_SLAPSTIC_H