diff options
author | 2015-09-13 08:41:44 +0200 | |
---|---|---|
committer | 2015-09-13 08:41:44 +0200 | |
commit | f88cefad27a1737c76e09d99c9fb43e173506081 (patch) | |
tree | 2d8167d03579c46e226471747eb4407bd00ed6fa /src/devices/bus/neogeo/fatfury2_prot.h | |
parent | e92ac9e0fa8e99869894bea00589bbb526be30aa (diff) |
Move all devices into separate part of src tree (nw)
Diffstat (limited to 'src/devices/bus/neogeo/fatfury2_prot.h')
-rw-r--r-- | src/devices/bus/neogeo/fatfury2_prot.h | 42 |
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 |