blob: 408fbfc8176414e632b32700379ad8267a0b1d88 (
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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
|
#pragma once
#include "banked_cart.h"
#ifndef __PVC_PROT__
#define __PVC_PROT__
extern const device_type PVC_PROT;
#define MCFG_PVC_PROT_ADD(_tag) \
MCFG_DEVICE_ADD(_tag, PVC_PROT, 0)
class pvc_prot_device : public device_t
{
public:
// construction/destruction
pvc_prot_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
void pvc_write_unpack_color();
void pvc_write_pack_color();
void pvc_write_bankswitch(address_space &space);
DECLARE_READ16_MEMBER(pvc_prot_r);
DECLARE_WRITE16_MEMBER(pvc_prot_w);
void install_pvc_protection(cpu_device* maincpu, neogeo_banked_cart_device* bankdev);
neogeo_banked_cart_device* m_bankdev;
UINT16 m_cartridge_ram[0x1000];
void mslug5_decrypt_68k(UINT8* rom, UINT32 size);
void svc_px_decrypt(UINT8* rom, UINT32 size);
void kf2k3pcb_decrypt_68k(UINT8* rom, UINT32 size);
void kof2003_decrypt_68k(UINT8* rom, UINT32 size);
void kof2003h_decrypt_68k(UINT8* rom, UINT32 size);
protected:
virtual void device_start();
virtual void device_reset();
private:
};
#endif
|