summaryrefslogtreecommitdiff
path: root/m68k_to_x86.h
diff options
context:
space:
mode:
authorMike Pavone <pavone@retrodev.com>2013-01-17 20:00:07 -0800
committerMike Pavone <pavone@retrodev.com>2013-01-17 20:00:07 -0800
commitcaad3a07a1d56b9f455667fef9e63e3be62454f7 (patch)
tree37bc284fc35fb0f9f59e4c3c198353de5c8c068a /m68k_to_x86.h
parentf6ebaabe9ee2703a6d12162310d058f9159ed770 (diff)
Add instruction address logging to translator and support for reading an address log to the disassembler
Diffstat (limited to 'm68k_to_x86.h')
-rw-r--r--m68k_to_x86.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/m68k_to_x86.h b/m68k_to_x86.h
index 7b216c9..fdfaa4b 100644
--- a/m68k_to_x86.h
+++ b/m68k_to_x86.h
@@ -1,4 +1,5 @@
#include <stdint.h>
+#include <stdio.h>
#include "68kinst.h"
#define NUM_MEM_AREAS 4
@@ -30,6 +31,7 @@ typedef struct {
uint8_t *cur_code;
uint8_t *code_end;
uint8_t **ram_inst_sizes;
+ FILE *address_log;
} x86_68k_options;
typedef struct {