Hopefully fixed entering star system lockups/messed graphics
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@264 8092fc87-c524-0410-9efc-e669fe64eaf9
This commit is contained in:
@@ -1429,14 +1429,17 @@ LoadLanderData ();
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// SetSemaphore (GraphicsSem);
|
// Enabled SetSemaphore and ClearSemaphore again, as in 3DO code originally.
|
||||||
|
// This should fix the 'entering star' lockup/messed graphics problems.
|
||||||
|
// 2002/11/30 by Mika
|
||||||
|
SetSemaphore (GraphicsSem);
|
||||||
DrawSISMessage (NULL_PTR);
|
DrawSISMessage (NULL_PTR);
|
||||||
SetContext (SpaceContext);
|
SetContext (SpaceContext);
|
||||||
SetContextFGFrame (Screen);
|
SetContextFGFrame (Screen);
|
||||||
SetContextBGFrame ((FRAME)0);
|
SetContextBGFrame ((FRAME)0);
|
||||||
SetContextDrawState (DEST_PIXMAP | DRAW_REPLACE);
|
SetContextDrawState (DEST_PIXMAP | DRAW_REPLACE);
|
||||||
SetContextBackGroundColor (BLACK_COLOR);
|
SetContextBackGroundColor (BLACK_COLOR);
|
||||||
// ClearSemaphore (GraphicsSem);
|
ClearSemaphore (GraphicsSem);
|
||||||
|
|
||||||
if (InnerSystem)
|
if (InnerSystem)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user