summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/machine/konami1.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/machine/konami1.c')
-rw-r--r--src/mame/machine/konami1.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mame/machine/konami1.c b/src/mame/machine/konami1.c
index e49ad6e95c3..95c2342b46e 100644
--- a/src/mame/machine/konami1.c
+++ b/src/mame/machine/konami1.c
@@ -42,8 +42,8 @@ static UINT8 konami1_decodebyte( UINT8 opcode, UINT16 address )
UINT8 *konami1_decode(running_machine *machine, const char *cpu)
{
- const UINT8 *rom = memory_region(machine, RGNCLASS_CPU, cpu);
- int size = memory_region_length(machine, RGNCLASS_CPU, cpu);
+ const UINT8 *rom = memory_region(machine, cpu);
+ int size = memory_region_length(machine, cpu);
int A;
UINT8 *decrypted = auto_malloc(size);