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.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/m68k_to_x86.h b/m68k_to_x86.h
index a066f39..7871c6a 100644
--- a/m68k_to_x86.h
+++ b/m68k_to_x86.h
@@ -23,7 +23,8 @@ typedef struct {
int8_t aregs[8];
native_map_slot *native_code_map;
deferred_addr *deferred;
-
+ uint8_t *cur_code;
+ uint8_t *code_end;
} x86_68k_options;
typedef struct {
@@ -46,7 +47,7 @@ typedef struct {
} m68k_context;
uint8_t * translate_m68k(uint8_t * dst, m68kinst * inst, x86_68k_options * opts);
-uint8_t * translate_m68k_stream(uint8_t * dst, uint8_t * dst_end, uint32_t address, m68k_context * context);
+uint8_t * translate_m68k_stream(uint32_t address, m68k_context * context);
void start_68k_context(m68k_context * context, uint32_t address);
void init_x86_68k_opts(x86_68k_options * opts);
void init_68k_context(m68k_context * context, native_map_slot * native_code_map, void * opts);