summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
author Aaron Giles <aaron@aarongiles.com>2008-11-20 17:09:17 +0000
committer Aaron Giles <aaron@aarongiles.com>2008-11-20 17:09:17 +0000
commitbc79dad8bd5fecb763290fb1f8351f05a116596d (patch)
tree3553b3b547276408f605f97a450e5cc2d1071dfd
parent0bf352e5e86b22affc892f2f097e4ddbc34656de (diff)
Removed global Machine references as well.
-rw-r--r--src/emu/cpu/jaguar/jaguar.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/emu/cpu/jaguar/jaguar.c b/src/emu/cpu/jaguar/jaguar.c
index 20ca231ee9c..cebf235a50a 100644
--- a/src/emu/cpu/jaguar/jaguar.c
+++ b/src/emu/cpu/jaguar/jaguar.c
@@ -7,7 +7,6 @@
***************************************************************************/
#include "debugger.h"
-#include "deprecat.h"
#include "cpuexec.h"
#include "jaguar.h"
@@ -774,7 +773,7 @@ void jr_cc_n(jaguar_state *jaguar, UINT16 op)
{
INT32 r1 = (INT8)((op >> 2) & 0xf8) >> 2;
UINT32 newpc = jaguar->PC + r1;
- debugger_instruction_hook(Machine, jaguar->PC);
+ debugger_instruction_hook(jaguar->device->machine, jaguar->PC);
op = ROPCODE(jaguar->PC);
jaguar->PC = newpc;
(*jaguar->table[op >> 10])(jaguar, op);
@@ -791,7 +790,7 @@ void jump_cc_rn(jaguar_state *jaguar, UINT16 op)
/* special kludge for risky code in the cojag DSP interrupt handlers */
UINT32 newpc = (jaguar->icount == jaguar->bankswitch_icount) ? jaguar->a[reg] : jaguar->r[reg];
- debugger_instruction_hook(Machine, jaguar->PC);
+ debugger_instruction_hook(jaguar->device->machine, jaguar->PC);
op = ROPCODE(jaguar->PC);
jaguar->PC = newpc;
(*jaguar->table[op >> 10])(jaguar, op);