From 94b8931b783295a83d9f892511298f956bbe924f Mon Sep 17 00:00:00 2001 From: Peter Veenstra Date: Sat, 10 Jan 2004 18:42:58 +0000 Subject: [PATCH] Changed default cpu cycles to 2500 Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@1553 --- src/cpu/cpu.cpp | 6 +++--- src/dosbox.cpp | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/cpu/cpu.cpp b/src/cpu/cpu.cpp index 3b96079b..0de6c37f 100644 --- a/src/cpu/cpu.cpp +++ b/src/cpu/cpu.cpp @@ -16,7 +16,7 @@ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ -/* $Id: cpu.cpp,v 1.48 2004-01-10 14:03:34 qbix79 Exp $ */ +/* $Id: cpu.cpp,v 1.49 2004-01-10 18:42:28 qbix79 Exp $ */ #include #include "dosbox.h" @@ -41,7 +41,7 @@ Segments Segs; Bits CPU_Cycles = 0; Bits CPU_CycleLeft = 0; -Bits CPU_CycleMax = 1800; +Bits CPU_CycleMax = 2500; Bits CPU_CycleUp = 0; Bits CPU_CycleDown = 0; CPU_Decoder * cpudecoder; @@ -1281,7 +1281,7 @@ void CPU_Init(Section* sec) { } CPU_JMP(false,0,0); //Setup the first cpu core - if (!CPU_CycleMax) CPU_CycleMax = 1800; + if (!CPU_CycleMax) CPU_CycleMax = 2500; if(!CPU_CycleUp) CPU_CycleUp = 500; if(!CPU_CycleDown) CPU_CycleDown = 20; CPU_CycleLeft=0; diff --git a/src/dosbox.cpp b/src/dosbox.cpp index 16d7288f..114ac906 100644 --- a/src/dosbox.cpp +++ b/src/dosbox.cpp @@ -222,7 +222,7 @@ void DOSBOX_Init(void) { secprop=control->AddSection_prop("cpu",&CPU_Init); secprop->Add_string("core","normal"); - secprop->Add_int("cycles",1800); + secprop->Add_int("cycles",2500); secprop->Add_int("cycleup",500); secprop->Add_int("cycledown",20); MSG_Add("CPU_CONFIGFILE_HELP",