Skip to content

Commit

Permalink
Fixed force-online device property
Browse files Browse the repository at this point in the history
  • Loading branch information
vit9696 committed Apr 1, 2020
1 parent e06ef98 commit f612723
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion WhateverGreen/kern_igfx.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,7 @@ void IGFX::processKernel(KernelPatcher &patcher, DeviceInfo *info) {
forceOnlineDisplay.enable = forceOnline != 0;
DBGLOG("weg", "force online display overriden by boot-argument %d", forceOnline);
} else if (WIOKit::getOSDataValue(info->videoBuiltin, "force-online", forceOnline)) {
forceOnlineDisplay.enable = forceCompleteModeset.supported && forceCompleteModeSet != 0;
forceOnlineDisplay.enable = forceOnline != 0;
DBGLOG("weg", "force online display overriden by device property %d", forceOnline);
}

Expand Down

0 comments on commit f612723

Please sign in to comment.