summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/machine/mc8123.h
blob: f5a2078bec520045e58d26f17ef27ac2b04a403a (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 *rom, UINT8 *opcodes, const UINT8 *key, int length);