From 1157cbe2a012b81b45daade71ffa7727b5ab2f95 Mon Sep 17 00:00:00 2001 From: Peter Veenstra Date: Wed, 5 May 2010 19:12:51 +0000 Subject: [PATCH] Make it a bit more pretty. Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3593 --- src/cpu/cpu.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/cpu/cpu.cpp b/src/cpu/cpu.cpp index 9b62338a..8d92572c 100644 --- a/src/cpu/cpu.cpp +++ b/src/cpu/cpu.cpp @@ -2109,7 +2109,10 @@ static void CPU_CycleIncrease(bool pressed) { CPU_CycleLeft=0;CPU_Cycles=0; if (CPU_CycleMax==old_cycles) CPU_CycleMax++; - LOG_MSG("CPU speed: fixed %d cycles. If you need more than 20000, try core=dynamic in DOSBox's options.",CPU_CycleMax); + if(CPU_CycleMax > 15000 ) + LOG_MSG("CPU speed: fixed %d cycles. If you need more than 20000, try core=dynamic in DOSBox's options.",CPU_CycleMax); + else + LOG_MSG("CPU speed: fixed %d cycles.",CPU_CycleMax); GFX_SetTitle(CPU_CycleMax,-1,false); } }