summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/zr107.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/zr107.c')
-rw-r--r--src/mame/drivers/zr107.c8
1 files changed, 2 insertions, 6 deletions
diff --git a/src/mame/drivers/zr107.c b/src/mame/drivers/zr107.c
index 61631343fbe..50424f086a3 100644
--- a/src/mame/drivers/zr107.c
+++ b/src/mame/drivers/zr107.c
@@ -442,14 +442,10 @@ static UINT32 *workram;
static MACHINE_START( zr107 )
{
/* set conservative DRC options */
- device_set_info_int(machine->cpu[0], CPUINFO_INT_PPC_DRC_OPTIONS, PPCDRC_COMPATIBLE_OPTIONS);
+ ppcdrc_set_options(machine->cpu[0], PPCDRC_COMPATIBLE_OPTIONS);
/* configure fast RAM regions for DRC */
- device_set_info_int(machine->cpu[0], CPUINFO_INT_PPC_FASTRAM_SELECT, 0);
- device_set_info_int(machine->cpu[0], CPUINFO_INT_PPC_FASTRAM_START, 0x00000000);
- device_set_info_int(machine->cpu[0], CPUINFO_INT_PPC_FASTRAM_END, 0x000fffff);
- device_set_info_ptr(machine->cpu[0], CPUINFO_PTR_PPC_FASTRAM_BASE, workram);
- device_set_info_int(machine->cpu[0], CPUINFO_INT_PPC_FASTRAM_READONLY, 0);
+ ppcdrc_add_fastram(machine->cpu[0], 0x00000000, 0x000fffff, FALSE, workram);
}
static ADDRESS_MAP_START( zr107_map, ADDRESS_SPACE_PROGRAM, 32 )