summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/machine/mc8123.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/machine/mc8123.h')
-rw-r--r--src/mame/machine/mc8123.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/mame/machine/mc8123.h b/src/mame/machine/mc8123.h
new file mode 100644
index 00000000000..009a24f2433
--- /dev/null
+++ b/src/mame/machine/mc8123.h
@@ -0,0 +1,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);