summaryrefslogtreecommitdiff
path: root/debug.c
diff options
context:
space:
mode:
Diffstat (limited to 'debug.c')
-rw-r--r--debug.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/debug.c b/debug.c
index b7bc9ed..547a2bd 100644
--- a/debug.c
+++ b/debug.c
@@ -885,7 +885,7 @@ int run_debugger_command(m68k_context *context, char *input_buf, m68kinst inst,
}
-m68k_context * debugger(m68k_context * context, uint32_t address)
+void debugger(m68k_context * context, uint32_t address)
{
static char last_cmd[1024];
char input_buf[1024];
@@ -938,7 +938,7 @@ m68k_context * debugger(m68k_context * context, uint32_t address)
if (debugging) {
printf("68K Breakpoint %d hit\n", (*this_bp)->index);
} else {
- return context;
+ return;
}
} else {
remove_breakpoint(context, address);
@@ -986,5 +986,5 @@ m68k_context * debugger(m68k_context * context, uint32_t address)
}
debugging = run_debugger_command(context, input_buf, inst, after);
}
- return context;
+ return;
}