1
0
Fork 0

add option to select cpu core in config file

Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@1544
This commit is contained in:
Sjoerd van der Berg 2004-01-07 21:37:47 +00:00
parent 926c1aab65
commit 012d12d691
2 changed files with 25 additions and 4 deletions

View file

@ -221,10 +221,16 @@ void DOSBOX_Init(void) {
);
secprop=control->AddSection_prop("cpu",&CPU_Init);
secprop->Add_string("core","normal");
secprop->Add_int("cycles",1800);
secprop->Add_int("cycleup",500);
secprop->Add_int("cycledown",20);
MSG_Add("CPU_CONFIGFILE_HELP",
"core -- CPU Core used in emulation: normal,full"
#if (C_DYNAMIC_X86)
",dynamic"
#endif
".\n"
"cycles -- Amount of instructions dosbox tries to emulate each millsecond.\n"
" Setting this higher than your machine can handle is bad!\n"
"cycleup -- Amount of cycles to increase/decrease with keycombo.\n"