diff options
author | Mike Pavone <pavone@retrodev.com> | 2013-07-16 23:16:50 -0700 |
---|---|---|
committer | Mike Pavone <pavone@retrodev.com> | 2013-07-16 23:16:50 -0700 |
commit | b1c5ca7410c3eb512cf51e1f4d0be0ffdcd24ffd (patch) | |
tree | f89c79280d01632770ad1e5b269a74e0c7984b17 /m68k_to_x86.c | |
parent | ee8dd1c801e8aba14b1c0edafd18c5305d05154e (diff) |
Fix 68K test harness
Diffstat (limited to 'm68k_to_x86.c')
-rw-r--r-- | m68k_to_x86.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/m68k_to_x86.c b/m68k_to_x86.c index 6ebc96d..f7e4d02 100644 --- a/m68k_to_x86.c +++ b/m68k_to_x86.c @@ -4333,7 +4333,7 @@ uint8_t * gen_mem_fun(x86_68k_options * opts, memmap_chunk * memmap, uint32_t nu void init_x86_68k_opts(x86_68k_options * opts, memmap_chunk * memmap, uint32_t num_chunks) { - opts->flags = 0; + memset(opts, 0, sizeof(*opts)); for (int i = 0; i < 8; i++) opts->dregs[i] = opts->aregs[i] = -1; opts->dregs[0] = R10; |