summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/bus/neogeo/prot_fatfury2.h
blob: 111b9f7388bbfc90243677e9a91b847457c41bc8 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
// license:BSD-3-Clause
// copyright-holders:S. Smith,David Haywood,Fabio Priuli

#ifndef MAME_BUS_NEOGEO_PROT_FATFURY2_H
#define MAME_BUS_NEOGEO_PROT_FATFURY2_H

#pragma once

DECLARE_DEVICE_TYPE(NG_FATFURY2_PROT, fatfury2_prot_device)


class fatfury2_prot_device :  public device_t
{
public:
	// construction/destruction
	fatfury2_prot_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock = 0);

	uint16_t protection_r(offs_t offset);
	void protection_w(offs_t offset, uint16_t data);

protected:
	virtual void device_start() override;
	virtual void device_reset() override;

	uint32_t     m_prot_data;
};

#endif // MAME_BUS_NEOGEO_PROT_FATFURY2_H