added support for Warninglevel
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@317
This commit is contained in:
parent
602882eb78
commit
56faf852a6
5 changed files with 113 additions and 23 deletions
|
@ -40,7 +40,7 @@
|
|||
/* NEEDS A CLEANUP */
|
||||
char dosbox_basedir[CROSS_LEN];
|
||||
Config * control;
|
||||
|
||||
Bitu errorlevel=1; //during startup display reason for Exits
|
||||
//The whole load of startups for all the subfunctions
|
||||
|
||||
void MSG_Init(Section_prop *);
|
||||
|
@ -132,7 +132,8 @@ void DOSBOX_RunMachine(void){
|
|||
static void DOSBOX_RealInit(Section * sec) {
|
||||
Section_prop * section=static_cast<Section_prop *>(sec);
|
||||
/* Initialize some dosbox internals */
|
||||
LastTicks=GetTicks();
|
||||
errorlevel=section->Get_int("WARNINGS");
|
||||
LastTicks=GetTicks();
|
||||
DOSBOX_SetLoop(&Normal_Loop);
|
||||
MSG_Init(section);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue