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:
parent
df11f825b8
commit
206a21502e
3 changed files with 17 additions and 3 deletions
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue