From 6183aae8b8ff8deb39d5e177896ef62bc72df7c0 Mon Sep 17 00:00:00 2001 From: Mike Pavone Date: Tue, 25 Jun 2013 23:18:57 -0700 Subject: Use the registers that were freed up by the memory map function changes --- m68k_to_x86.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'm68k_to_x86.c') diff --git a/m68k_to_x86.c b/m68k_to_x86.c index 4f1cc6a..b35494e 100644 --- a/m68k_to_x86.c +++ b/m68k_to_x86.c @@ -4339,8 +4339,10 @@ void init_x86_68k_opts(x86_68k_options * opts, memmap_chunk * memmap, uint32_t n opts->dregs[0] = R10; opts->dregs[1] = R11; opts->dregs[2] = R12; + opts->dregs[3] = R8; opts->aregs[0] = R13; opts->aregs[1] = R14; + opts->aregs[2] = R9; opts->aregs[7] = R15; opts->native_code_map = malloc(sizeof(native_map_slot) * NATIVE_MAP_CHUNKS); memset(opts->native_code_map, 0, sizeof(native_map_slot) * NATIVE_MAP_CHUNKS); -- cgit v1.2.3