rem: ClearSemaphore (&GraphicsSem);
add: ClearSemaphore (GraphicsSem);
context: EraseCursor (COORD curs_x, COORD curs_y){	RECT r;	GetFrameRect (pMenuState->CurFrame, &r);	if ((r.corner.x += curs_x) < 0)	{		r.extent.width += r.corner.x;		r.corner.x = 0;	}	else if (r.corner.x + r.extent.width >= SIS_SCREEN_WIDTH)		r.extent.width = SIS_SCREEN_WIDTH - r.corner.x;	if ((r.corner.y += curs_y) < 0)	{		r.extent.height += r.corner.y;		r.corner.y = 0;	}	else if (r.corner.y + r.extent.height >= SIS_SCREEN_HEIGHT)		r.extent.height = SIS_SCREEN_HEIGHT - r.corner.y;#ifndef OLD	RepairBackRect (&r);#else /* NEW */	r.extent.height += r.corner.y & 1;	r.corner.y &= ~1;	ClearSemaphore (&GraphicsSem);	DrawStarMap (0, &r);	SetSemaphore (&GraphicsSem);#endif /* OLD */}