From effd32c478485954eaad06c9333d5645d6250642 Mon Sep 17 00:00:00 2001 From: Daveo Date: Mon, 13 Aug 2001 14:24:09 +0000 Subject: [PATCH] --- source/system/vid.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/source/system/vid.cpp b/source/system/vid.cpp index bc1a44d09..5e1ada8f0 100644 --- a/source/system/vid.cpp +++ b/source/system/vid.cpp @@ -90,13 +90,14 @@ sFrameHdr *fh=(sFrameHdr*)_fh; } /*****************************************************************************/ +int OldClearScreen=0; void StartLoad(int _loadX,int _loadY) { SYSTEM_DBGMSG("Start Load"); if (_loadX!=-1) LoadX=_loadX; if (_loadY!=-1) LoadY=_loadY; - + OldClearScreen=Screen[0].Draw.isbg; Screen[0].Draw.isbg=Screen[1].Draw.isbg=0; PutDrawEnv(&Screen[FrameFlipFlag^1].Draw); @@ -127,6 +128,7 @@ void StopLoad() DrawLoadIcon=0; SYSTEM_DBGMSG("Stop Load"); } + VidSetClearScreen(OldClearScreen); } /*****************************************************************************/