Skip to content
Snippets Groups Projects
Commit 9b899981 authored by Ove Kåven's avatar Ove Kåven Committed by Alexandre Julliard
Browse files

Cleanup VGA refresh when terminating.

parent 5d6d5014
No related branches found
No related tags found
No related merge requests found
......@@ -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);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment