From e18f34129678afeeffbf6fc38d9ec7d3b73452fb Mon Sep 17 00:00:00 2001 From: Mike Pavone Date: Fri, 4 Jan 2013 23:25:23 -0800 Subject: Add cycles for Bcc (needs work, but this changes keeps some ROMs from making the emulator unresponsive) --- m68k_to_x86.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/m68k_to_x86.c b/m68k_to_x86.c index 70c471a..0e46067 100644 --- a/m68k_to_x86.c +++ b/m68k_to_x86.c @@ -1422,7 +1422,7 @@ uint8_t * translate_m68k_bsr(uint8_t * dst, m68kinst * inst, x86_68k_options * o 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); -- cgit v1.2.3