From cbd240d0deec6f2fcfac8b26c1b18a666d534f33 Mon Sep 17 00:00:00 2001 From: Aaron Giles Date: Thu, 13 Nov 2008 07:23:50 +0000 Subject: This patch replaces the Machine parameter where an running_machine * is available and removes the deprecat.h where unnecessary. [Oliver Stoeneberg] --- src/emu/cpu/cop400/cop410.c | 3 +-- src/emu/cpu/cop400/cop420.c | 3 +-- 2 files changed, 2 insertions(+), 4 deletions(-) (limited to 'src/emu/cpu/cop400') diff --git a/src/emu/cpu/cop400/cop410.c b/src/emu/cpu/cop400/cop410.c index e3b1e6395cf..728f95dfe3e 100644 --- a/src/emu/cpu/cop400/cop410.c +++ b/src/emu/cpu/cop400/cop410.c @@ -23,7 +23,6 @@ #include "driver.h" #include "cpuintrf.h" #include "debugger.h" -#include "deprecat.h" #include "cop400.h" /* The opcode table now is a combination of cycle counts and function pointers */ @@ -315,7 +314,7 @@ static CPU_EXECUTE( cop410 ) { prevPC = PC; - debugger_instruction_hook(Machine, PC); + debugger_instruction_hook(device->machine, PC); if (R.intf->cko == COP400_CKO_HALT_IO_PORT) { diff --git a/src/emu/cpu/cop400/cop420.c b/src/emu/cpu/cop400/cop420.c index 15c9f98f7ba..3ace3888c59 100644 --- a/src/emu/cpu/cop400/cop420.c +++ b/src/emu/cpu/cop400/cop420.c @@ -26,7 +26,6 @@ #include "cpuintrf.h" #include "debugger.h" -#include "deprecat.h" #include "cop400.h" /* The opcode table now is a combination of cycle counts and function pointers */ @@ -453,7 +452,7 @@ static CPU_EXECUTE( cop420 ) { prevPC = PC; - debugger_instruction_hook(Machine, PC); + debugger_instruction_hook(device->machine, PC); opcode = ROM(PC); -- cgit v1.2.3-70-g09d2