Mercurial > repos > blastem
changeset 156:3900cfde9dbb
Add cycles for Bcc (needs work, but this changes keeps some ROMs from making the emulator unresponsive)
author | Mike Pavone <pavone@retrodev.com> |
---|---|
date | Fri, 04 Jan 2013 23:25:23 -0800 |
parents | 94a65fb4e1c7 |
children | 301470eb870b |
files | m68k_to_x86.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/m68k_to_x86.c Fri Jan 04 23:21:07 2013 -0800 +++ b/m68k_to_x86.c Fri Jan 04 23:25:23 2013 -0800 @@ -1422,7 +1422,7 @@ uint8_t * translate_m68k_bcc(uint8_t * dst, m68kinst * inst, x86_68k_options * opts) { - //TODO: Add cycles + dst = cycles(dst, 10);//TODO: Adjust this for branch not taken case int32_t disp = inst->src.params.immed; uint32_t after = inst->address + 2; uint8_t * dest_addr = get_native_address(opts->native_code_map, after + disp);