Correct mistake with nvidia inject name

This commit is contained in:
asava 2020-03-31 03:09:53 +03:00
parent 2cb912ca74
commit e149dafe4d
2 changed files with 3 additions and 1 deletions

View File

@ -2074,7 +2074,7 @@ static INT32 devprop_add_nvidia_template(DevPropDevice *device, INTN n_ports)
for (pnum = 0; pnum < n_ports; pnum++) {
snprintf(nkey, 24, "@%lld,name", pnum);
snprintf(nval, 24, "NVDA,Display-%lld", (65+pnum));
snprintf(nval, 24, "NVDA,Display-%c", (65+pnum));
//DBG("Nvidia: insert [%s : %s]\n", nkey, nval);
devprop_add_value(device, nkey, (UINT8*)nval, 14);

View File

@ -2273,7 +2273,9 @@ RefitMain (IN EFI_HANDLE ImageHandle,
#endif // ENABLE_SECURE_BOOT
MainMenu.TimeoutSeconds = GlobalConfig.Timeout >= 0 ? GlobalConfig.Timeout : 0;
#if USE_XTHEME
ThemeX.FillByEmbedded();
#endif
//DBG("LoadDrivers() start\n");
LoadDrivers();
//DBG("LoadDrivers() end\n");