VOID __stdcall BvgaEnableBootDriver(UINT8 bEnable){
int v1;
v1 = 0;
if( BvgaBootDriverFullyInitialized )
{
if( BvgaDisplayState < 2 )
{
BvgaAcquireLock();
if( !BvgaDisplayState )
VidCleanUp();
LOBYTE(v1) = bEnable == 0;
BvgaDisplayState = v1;
BvgaReleaseLock();
}
}
else
{
LOBYTE(v1) = bEnable == 0;
BvgaDisplayState = v1;
}
}