diff options
Diffstat (limited to 'src/mame/machine/archimds.c')
-rw-r--r-- | src/mame/machine/archimds.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mame/machine/archimds.c b/src/mame/machine/archimds.c index 80d69f0417d..1349e9e9b37 100644 --- a/src/mame/machine/archimds.c +++ b/src/mame/machine/archimds.c @@ -115,7 +115,7 @@ static TIMER_CALLBACK( vidc_vblank ) /* TODO: what type of DMA this is, burst or cycle steal? Docs doesn't explain it (4 usec is the DRAM refresh). */ static TIMER_CALLBACK( vidc_video_tick ) { - address_space &space = *machine.device("maincpu")->memory().space(AS_PROGRAM); + address_space &space = machine.device("maincpu")->memory().space(AS_PROGRAM); static UINT8 *vram = machine.root_device().memregion("vram")->base(); UINT32 size; @@ -133,7 +133,7 @@ static TIMER_CALLBACK( vidc_video_tick ) /* audio DMA */ static TIMER_CALLBACK( vidc_audio_tick ) { - address_space &space = *machine.device("maincpu")->memory().space(AS_PROGRAM); + address_space &space = machine.device("maincpu")->memory().space(AS_PROGRAM); UINT8 ulaw_comp; INT16 res; UINT8 ch; @@ -423,7 +423,7 @@ DIRECT_UPDATE_HANDLER( a310_setopbase ) void archimedes_driver_init(running_machine &machine) { archimedes_memc_physmem = reinterpret_cast<UINT32 *>(machine.root_device().memshare("physicalram")->ptr()); -// address_space &space = *machine.device<arm_device>("maincpu")->space(AS_PROGRAM); +// address_space &space = machine.device<arm_device>("maincpu")->space(AS_PROGRAM); // space.set_direct_update_handler(direct_update_delegate(FUNC(a310_setopbase), &machine)); } |