1
0
Fork 0

added a switch to windowed mode in E_Exit

Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@257
This commit is contained in:
Peter Veenstra 2002-09-03 13:43:44 +00:00
parent 33c702a8e4
commit b5d4c88ad7
3 changed files with 31 additions and 19 deletions

View file

@ -216,6 +216,10 @@ void S_Warn(char * format,...) {
}
void E_Exit(char * format,...) {
if (sdl.full_screen) {
GFX_SwitchFullScreen();
}
char buf[1024];
@ -225,7 +229,7 @@ void E_Exit(char * format,...) {
va_start(msg,format);
vsprintf(buf+strlen(buf),format,msg);
va_end(msg);
strcat(buf,"\n");
printf(buf);
printf("Press ENTER to stop\n");