summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/machine/mc8123.h
blob: 42c59851b188466f6b77724cf27b2bb8eb3e8da8 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
// license:BSD-3-Clause
// copyright-holders:Nicola Salmoria, David Widel
/***************************************************************************

  NEC MC-8123 encryption emulation

***************************************************************************/

// this function assumes a fixed portion of ROM at 0000-7FFF, and
// an arbitrary amount of banks at 8000-BFFF.

void mc8123_decode(uint8_t *rom, uint8_t *opcodes, const uint8_t *key, int length);