1
0
Fork 0

prevent crashes when unexpectedly forced to exit fullscreen mode

(e.g. using windows keys in fullscreen)


Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@2251
This commit is contained in:
Sebastian Strohhäcker 2005-07-28 19:53:43 +00:00
parent df11f825b8
commit 206a21502e
3 changed files with 17 additions and 3 deletions

View file

@ -523,3 +523,7 @@ void VGA_SetupDrawing(Bitu val) {
PIC_AddEvent(VGA_VerticalTimer,vga.draw.delay.vtotal);
}
};
void VGA_KillDrawing(void) {
PIC_RemoveEvents(VGA_DrawPart);
}