summaryrefslogtreecommitdiff
path: root/m68k_to_x86.c
diff options
context:
space:
mode:
authorMike Pavone <pavone@retrodev.com>2013-06-25 23:18:57 -0700
committerMike Pavone <pavone@retrodev.com>2013-06-25 23:18:57 -0700
commit6183aae8b8ff8deb39d5e177896ef62bc72df7c0 (patch)
tree7bb86c36df373064142398f7bac6f7b075121a4d /m68k_to_x86.c
parent1a1c4c4d151de9f058d829d794c7d99780291144 (diff)
Use the registers that were freed up by the memory map function changes
Diffstat (limited to 'm68k_to_x86.c')
-rw-r--r--m68k_to_x86.c2
1 files changed, 2 insertions, 0 deletions
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);