From d227299bc132b1678d3742d43bec4c1c384b96b2 Mon Sep 17 00:00:00 2001 From: Sjoerd van der Berg Date: Sun, 11 Jan 2004 19:39:22 +0000 Subject: [PATCH] Only enable dpmi hos tin debug version Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@1572 --- src/dosbox.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/dosbox.cpp b/src/dosbox.cpp index e8637e07..60c6ee7e 100644 --- a/src/dosbox.cpp +++ b/src/dosbox.cpp @@ -350,15 +350,18 @@ void DOSBOX_Init(void) { secprop->Add_bool("xms",true); secprop->AddInitFunction(&EMS_Init); secprop->Add_bool("ems",true); +#if (C_DEBUG) secprop->AddInitFunction(&DPMI_Init); secprop->Add_bool("dpmi",false); - +#endif MSG_Add("DOS_CONFIGFILE_HELP", "xms -- Enable XMS support.\n" "ems -- Enable EMS support.\n" +#if (C_DEBUG) "dpmi -- Enable builtin DPMI host support.\n" " This might help in getting some games to work, but might crash others.\n" " So be sure to try both settings.\n" +#endif ); // Mscdex secprop->AddInitFunction(&MSCDEX_Init);