summaryrefslogtreecommitdiff
path: root/m68k_to_x86.h
diff options
context:
space:
mode:
Diffstat (limited to 'm68k_to_x86.h')
-rw-r--r--m68k_to_x86.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/m68k_to_x86.h b/m68k_to_x86.h
index 6466d28..751e9d1 100644
--- a/m68k_to_x86.h
+++ b/m68k_to_x86.h
@@ -18,6 +18,8 @@ struct m68kinst;
#define OPT_NATIVE_CALL_STACK 0x1
+typedef void (*start_fun)(uint8_t * addr, void * context);
+
typedef struct {
uint32_t flags;
int8_t dregs[8];
@@ -40,6 +42,7 @@ typedef struct {
uint8_t *trap;
uint8_t *save_context;
uint8_t *load_context;
+ start_fun start_context;
} x86_68k_options;
typedef struct {