summaryrefslogtreecommitdiffstatshomepage
path: root/src/emu/cpu/cop400
diff options
context:
space:
mode:
author Aaron Giles <aaron@aarongiles.com>2008-11-13 07:23:50 +0000
committer Aaron Giles <aaron@aarongiles.com>2008-11-13 07:23:50 +0000
commitcbd240d0deec6f2fcfac8b26c1b18a666d534f33 (patch)
tree14111affa2773433449dbb866647be729541ffd5 /src/emu/cpu/cop400
parent4af530d9e8fe816032c21fc90b3cc80f5d74c2e2 (diff)
This patch replaces the Machine parameter where an running_machine *
is available and removes the deprecat.h where unnecessary. [Oliver Stoeneberg]
Diffstat (limited to 'src/emu/cpu/cop400')
-rw-r--r--src/emu/cpu/cop400/cop410.c3
-rw-r--r--src/emu/cpu/cop400/cop420.c3
2 files changed, 2 insertions, 4 deletions
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);