summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/bus/neogeo/fatfury2_prot.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/bus/neogeo/fatfury2_prot.h')
-rw-r--r--src/devices/bus/neogeo/fatfury2_prot.h42
1 files changed, 42 insertions, 0 deletions
diff --git a/src/devices/bus/neogeo/fatfury2_prot.h b/src/devices/bus/neogeo/fatfury2_prot.h
new file mode 100644
index 00000000000..2abe9c92da6
--- /dev/null
+++ b/src/devices/bus/neogeo/fatfury2_prot.h
@@ -0,0 +1,42 @@
+// license:BSD-3-Clause
+// copyright-holders:S. Smith,David Haywood
+
+#pragma once
+
+#ifndef __FATFURY2_PROT__
+#define __FATFURY2_PROT__
+
+#include "banked_cart.h"
+
+extern const device_type FATFURY2_PROT;
+
+#define MCFG_FATFURY2_PROT_ADD(_tag) \
+ MCFG_DEVICE_ADD(_tag, FATFURY2_PROT, 0)
+
+
+class fatfury2_prot_device : public device_t
+{
+public:
+ // construction/destruction
+ fatfury2_prot_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
+
+ DECLARE_READ16_MEMBER( fatfury2_protection_16_r );
+ DECLARE_WRITE16_MEMBER( fatfury2_protection_16_w );
+ void fatfury2_install_protection(cpu_device* maincpu, neogeo_banked_cart_device* bankdev);
+
+
+ neogeo_banked_cart_device* m_bankdev;
+ UINT32 m_fatfury2_prot_data;
+
+protected:
+ virtual void device_start();
+ virtual void device_reset();
+
+
+
+private:
+
+
+};
+
+#endif