diff options
Diffstat (limited to 'src/mame/machine/pgmcrypt.c')
-rw-r--r-- | src/mame/machine/pgmcrypt.c | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/src/mame/machine/pgmcrypt.c b/src/mame/machine/pgmcrypt.c index a0f6859b90b..473eb93add1 100644 --- a/src/mame/machine/pgmcrypt.c +++ b/src/mame/machine/pgmcrypt.c @@ -27,7 +27,7 @@ void pgm_kov_decrypt(running_machine *machine) { int i; - UINT16 *src = (UINT16 *) (memory_region(machine, RGNCLASS_CPU, "main")+0x100000); + UINT16 *src = (UINT16 *) (memory_region(machine, "main")+0x100000); int rom_size = 0x400000; @@ -89,7 +89,7 @@ void pgm_kovsh_decrypt(running_machine *machine) { int i; - UINT16 *src = (UINT16 *) (memory_region(machine, RGNCLASS_CPU, "main")+0x100000); + UINT16 *src = (UINT16 *) (memory_region(machine, "main")+0x100000); int rom_size = 0x400000; @@ -130,7 +130,7 @@ void pgm_dw2_decrypt(running_machine *machine) { int i; - UINT16 *src = (UINT16 *) (memory_region(machine, RGNCLASS_CPU, "main")+0x100000); + UINT16 *src = (UINT16 *) (memory_region(machine, "main")+0x100000); int rom_size = 0x80000; @@ -172,7 +172,7 @@ void pgm_djlzz_decrypt(running_machine *machine) { int i; - UINT16 *src = (UINT16 *) (memory_region(machine, RGNCLASS_CPU, "main")+0x100000); + UINT16 *src = (UINT16 *) (memory_region(machine, "main")+0x100000); int rom_size = 0x400000; @@ -232,7 +232,7 @@ void pgm_pstar_decrypt(running_machine *machine) { int i; - UINT16 *src = (UINT16 *) (memory_region(machine, RGNCLASS_CPU, "main")+0x100000); + UINT16 *src = (UINT16 *) (memory_region(machine, "main")+0x100000); int rom_size = 0x100000; @@ -272,7 +272,7 @@ void pgm_dw3_decrypt(running_machine *machine) // UINT16 *src=(UINT16 *) (OP_ROM+0x100000); int i; - UINT16 *src = (UINT16 *) (memory_region(machine, RGNCLASS_CPU, "main")+0x100000); + UINT16 *src = (UINT16 *) (memory_region(machine, "main")+0x100000); int rom_size = 0x100000; @@ -304,7 +304,7 @@ void pgm_killbld_decrypt(running_machine *machine) // UINT16 *src=(UINT16 *) (OP_ROM+0x100000); int i; - UINT16 *src = (UINT16 *) (memory_region(machine, RGNCLASS_CPU, "main")+0x100000); + UINT16 *src = (UINT16 *) (memory_region(machine, "main")+0x100000); int rom_size = 0x200000; @@ -344,7 +344,7 @@ static const UINT8 dfront_tab[256] = { void pgm_dfront_decrypt(running_machine *machine) { int i; - UINT16 *src = (UINT16 *)(memory_region(machine, RGNCLASS_USER, "user1")); + UINT16 *src = (UINT16 *)(memory_region(machine, "user1")); int rom_size = 0x200000; @@ -404,7 +404,7 @@ static const UINT8 ddp2_tab[256] = { void pgm_ddp2_decrypt(running_machine *machine) { int i; - UINT16 *src = (UINT16 *)(memory_region(machine, RGNCLASS_USER, "user1")); + UINT16 *src = (UINT16 *)(memory_region(machine, "user1")); int rom_size = 0x200000; @@ -459,7 +459,7 @@ static const UINT8 mm_tab[256] = { void pgm_mm_decrypt(running_machine *machine) { int i; - UINT16 *src = (UINT16 *)(memory_region(machine, RGNCLASS_USER, "user1")); + UINT16 *src = (UINT16 *)(memory_region(machine, "user1")); int rom_size = 0x200000; @@ -518,7 +518,7 @@ static const UINT8 kov2_tab[256] = { void pgm_kov2_decrypt(running_machine *machine) { int i; - UINT16 *src = (UINT16 *)(memory_region(machine, RGNCLASS_USER, "user1")); + UINT16 *src = (UINT16 *)(memory_region(machine, "user1")); int rom_size = 0x200000; @@ -574,7 +574,7 @@ static const UINT8 puzzli2_tab[256] = { void pgm_puzzli2_decrypt(running_machine *machine) { int i; - UINT16 *src = (UINT16 *) (memory_region(machine, RGNCLASS_CPU, "main")+0x100000); + UINT16 *src = (UINT16 *) (memory_region(machine, "main")+0x100000); int rom_size = 0x100000; |