1
0
Fork 0

fixed close dosbox crash. Added GFX_Stop in E_Exit.

Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@204
This commit is contained in:
Ulf Wohlers 2002-08-23 11:53:24 +00:00
parent 86f7adfed5
commit f697ef756a

View file

@ -26,7 +26,7 @@
#include <string.h>
#include "dosbox.h"
#include "support.h"
#include "video.h"
/*
Ripped some source from freedos for this one.
@ -230,6 +230,7 @@ void E_Exit(char * format,...) {
printf(buf);
printf("Press ENTER to stop\n");
fgetc(stdin);
exit(2);
GFX_Stop();
exit(2);
};