mirror of
https://github.com/CloverHackyColor/CloverBootloader.git
synced 2024-11-24 11:45:27 +01:00
Adjust format.
This commit is contained in:
parent
109cbc1cda
commit
521485c852
@ -914,7 +914,7 @@ VOID PatchTableType4()
|
|||||||
UpdateSmbiosString(newSmbiosTable, &newSmbiosTable.Type4->AssetTag, BrandStr); //like mac
|
UpdateSmbiosString(newSmbiosTable, &newSmbiosTable.Type4->AssetTag, BrandStr); //like mac
|
||||||
// looks to be MicroCode revision
|
// looks to be MicroCode revision
|
||||||
if(gCPUStructure.MicroCode > 0){
|
if(gCPUStructure.MicroCode > 0){
|
||||||
snprintf(BrandStr, 20, "%X", gCPUStructure.MicroCode);
|
snprintf(BrandStr, 20, "%llX", gCPUStructure.MicroCode); // MicroCode > 0 so %X and %llX do the same
|
||||||
UpdateSmbiosString(newSmbiosTable, &newSmbiosTable.Type4->SerialNumber, BrandStr);
|
UpdateSmbiosString(newSmbiosTable, &newSmbiosTable.Type4->SerialNumber, BrandStr);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user