diff options
Diffstat (limited to 'src/mame/machine/decocrpt.cpp')
-rw-r--r-- | src/mame/machine/decocrpt.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/mame/machine/decocrpt.cpp b/src/mame/machine/decocrpt.cpp index dc31db80fdf..758bb8dfd2a 100644 --- a/src/mame/machine/decocrpt.cpp +++ b/src/mame/machine/decocrpt.cpp @@ -600,7 +600,7 @@ static const UINT8 deco74_swap_table[0x800] = 4,7,2,2,1,3,4,4,1,7,0,2,5,4,7,3,7,6,1,5,6,0,7,4,1,1,5,2,2,6,7,2, }; -static void deco_decrypt(running_machine &machine,const char *rgntag,const UINT8 *xor_table,const UINT16 *address_table,const UINT8 *swap_table,int remap_only) +static void deco_decrypt(running_machine &machine,std::string rgntag,const UINT8 *xor_table,const UINT16 *address_table,const UINT8 *swap_table,int remap_only) { UINT16 *rom = (UINT16 *)machine.root_device().memregion(rgntag)->base(); int len = machine.root_device().memregion(rgntag)->bytes()/2; @@ -647,17 +647,17 @@ static void deco_decrypt(running_machine &machine,const char *rgntag,const UINT8 rom[i] = BIG_ENDIANIZE_INT16(rom[i]); } -void deco56_decrypt_gfx(running_machine &machine, const char *tag) +void deco56_decrypt_gfx(running_machine &machine, std::string tag) { deco_decrypt(machine,tag,deco56_xor_table,deco56_address_table,deco56_swap_table, 0); } -void deco74_decrypt_gfx(running_machine &machine, const char *tag) +void deco74_decrypt_gfx(running_machine &machine, std::string tag) { deco_decrypt(machine,tag,deco74_xor_table,deco74_address_table,deco74_swap_table, 0); } -void deco56_remap_gfx(running_machine &machine, const char *tag) +void deco56_remap_gfx(running_machine &machine, std::string tag) { // Apply address remap, but not XOR/shift deco_decrypt(machine,tag,deco56_xor_table,deco56_address_table,deco56_swap_table, 1); |