From: Toni Wilen Date: Sun, 18 Jan 2015 12:58:10 +0000 (+0200) Subject: 68000 prefetch DIV cycle count fix. X-Git-Tag: 3100~122 X-Git-Url: https://git.unchartedbackwaters.co.uk/w/?a=commitdiff_plain;h=df99bde1fee8e46daad9acb7f591f561f1f0ccf7;p=francis%2Fwinuae.git 68000 prefetch DIV cycle count fix. --- 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++; } }