Mercurial > repos > blastem
comparison m68k_to_x86.c @ 440:306986209cba
Fix 68K test harness
author | Mike Pavone <pavone@retrodev.com> |
---|---|
date | Tue, 16 Jul 2013 23:16:50 -0700 |
parents | 7e8e179116af |
children | 1a48b31f5316 |
comparison
equal
deleted
inserted
replaced
439:bfbb8613efb4 | 440:306986209cba |
---|---|
4331 return start; | 4331 return start; |
4332 } | 4332 } |
4333 | 4333 |
4334 void init_x86_68k_opts(x86_68k_options * opts, memmap_chunk * memmap, uint32_t num_chunks) | 4334 void init_x86_68k_opts(x86_68k_options * opts, memmap_chunk * memmap, uint32_t num_chunks) |
4335 { | 4335 { |
4336 opts->flags = 0; | 4336 memset(opts, 0, sizeof(*opts)); |
4337 for (int i = 0; i < 8; i++) | 4337 for (int i = 0; i < 8; i++) |
4338 opts->dregs[i] = opts->aregs[i] = -1; | 4338 opts->dregs[i] = opts->aregs[i] = -1; |
4339 opts->dregs[0] = R10; | 4339 opts->dregs[0] = R10; |
4340 opts->dregs[1] = R11; | 4340 opts->dregs[1] = R11; |
4341 opts->dregs[2] = R12; | 4341 opts->dregs[2] = R12; |