From df99bde1fee8e46daad9acb7f591f561f1f0ccf7 Mon Sep 17 00:00:00 2001 From: Toni Wilen Date: Sun, 18 Jan 2015 14:58:10 +0200 Subject: [PATCH] 68000 prefetch DIV cycle count fix. --- gencpu.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gencpu.cpp b/gencpu.cpp index b2425a1d..d97581e0 100644 --- a/gencpu.cpp +++ b/gencpu.cpp @@ -352,7 +352,7 @@ static void addcycles_ce020 (const char *name, int head, int tail, int cycles, i static void addcycles000_nonces(const char *s, const char *sc) { if (using_simple_cycles) { - printf("%scount_cycles += %s * CYCLE_UNIT / 2;\n", s, sc); + printf("%scount_cycles += (%s) * CYCLE_UNIT / 2;\n", s, sc); count_ncycles++; } } -- 2.47.3