mirror of
git://source.winehq.org/git/wine.git
synced 2024-09-05 16:40:26 +00:00
Cleanup VGA refresh when terminating.
This commit is contained in:
parent
5d6d5014fa
commit
9b89998113
|
@ -35,6 +35,7 @@
|
|||
#include "dosmod.h"
|
||||
#include "options.h"
|
||||
#include "server.h"
|
||||
#include "vga.h"
|
||||
|
||||
DEFAULT_DEBUG_CHANNEL(module)
|
||||
|
||||
|
@ -515,6 +516,7 @@ void MZ_KillModule( LPDOSTASK lpDosTask )
|
|||
DOSSYSTEM *sys,*p_sys;
|
||||
|
||||
TRACE("killing DOS task\n");
|
||||
VGA_Clean();
|
||||
if (lpDosTask->mm_name[0]!=0) {
|
||||
munmap(lpDosTask->img,0x110000-START_OFFSET);
|
||||
close(lpDosTask->mm_fd);
|
||||
|
|
Loading…
Reference in a new issue