1
0
Fork 0

Some changes to errorlevel

Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@431
This commit is contained in:
Sjoerd van der Berg 2002-10-25 21:27:52 +00:00
parent 46cbb48f3f
commit 5003c981ee

View file

@ -38,7 +38,7 @@
#include "support.h"
Config * control;
Bitu errorlevel;
Bitu errorlevel=1;
/* The whole load of startups for all the subfunctions */
void MSG_Init(Section_prop *);
@ -142,7 +142,11 @@ void DOSBOX_Init(void) {
secprop=control->AddSection_prop("dosbox",&DOSBOX_RealInit);
secprop->Add_string("language","");
#if C_DEBUG
secprop->Add_int("warnings",4);
#else
secprop->Add_int("warnings",0);
#endif
secprop->AddInitFunction(&MEM_Init);
secprop->AddInitFunction(&IO_Init);