提交 517f756d 编写于 作者: V vit9696

OpenCoreMisc: Event better debug logging for screen res

上级 dc3726ed
......@@ -187,22 +187,24 @@ OcMiscLateInit (
DEBUG ((
DEBUG_INFO,
"OC: Requested resolution is %u:%u@%u (max: %d)\n",
"OC: Requested resolution is %u:%u@%u (max: %d) from %a\n",
Width,
Height,
Bpp,
SetMax
SetMax,
OC_BLOB_GET (&Config->Misc.Boot.Resolution)
));
if (SetMax || (Width > 0 && Height > 0)) {
Status = SetConsoleResolution (Width, Height, Bpp);
DEBUG ((
DEBUG_INFO,
"OC: Changed resolution to %u:%u@%u (max: %d) - %r\n",
EFI_ERROR (Status) ? DEBUG_WARN : DEBUG_INFO,
"OC: Changed resolution to %u:%u@%u (max: %d) from %a - %r\n",
Width,
Height,
Bpp,
SetMax,
OC_BLOB_GET (&Config->Misc.Boot.Resolution),
Status
));
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册