summaryrefslogblamecommitdiffstatshomepage
path: root/src/mame/machine/mc8123.h
blob: 009a24f2433fd1946048a68f0bffe234d8a7eb84 (plain) (tree)
1
2
3
4
5




                                                                                 
// this function assumes a fixed portion of ROM at 0000-7FFF, and
// an arbitrary amount of banks at 8000-BFFF.
// numbanks may be 0, meaning there is no ROM to decrypt at 8000-BFFF,
// or 1, meaning 0000-BFFF will be decrypted as a single unit.
void mc8123_decrypt_rom(int cpunum, const UINT8* key, int banknum, int numbanks);