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:
parent
33c702a8e4
commit
b5d4c88ad7
3 changed files with 31 additions and 19 deletions
|
@ -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");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue