From b685e5264ead9ed98ff8c7d2dafa038618fb957c Mon Sep 17 00:00:00 2001 From: hap Date: Mon, 16 Mar 2015 00:41:00 +0100 Subject: [PATCH] ah, i forgot to add the /4 divider --- src/emu/cpu/hmcs40/hmcs40.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/emu/cpu/hmcs40/hmcs40.h b/src/emu/cpu/hmcs40/hmcs40.h index 38750c0dd6a..6dd5166df87 100644 --- a/src/emu/cpu/hmcs40/hmcs40.h +++ b/src/emu/cpu/hmcs40/hmcs40.h @@ -144,6 +144,8 @@ protected: virtual void device_reset(); // device_execute_interface overrides + virtual UINT64 execute_clocks_to_cycles(UINT64 clocks) const { return (clocks + 4 - 1) / 4; } // 4 cycles per machine cycle + virtual UINT64 execute_cycles_to_clocks(UINT64 cycles) const { return (cycles * 4); } // " virtual UINT32 execute_min_cycles() const { return 1; } virtual UINT32 execute_max_cycles() const { return 2; } virtual UINT32 execute_input_lines() const { return 2+1; } // 3rd one is internal