mirror of
https://github.com/CloverHackyColor/CloverBootloader.git
synced 2025-01-23 21:11:32 +01:00
Break declaration line (prepa c++)
This commit is contained in:
parent
ea2408cada
commit
6dc3c956d6
@ -4438,7 +4438,9 @@ ParseSMBIOSSettings(
|
|||||||
TagPtr DictPointer
|
TagPtr DictPointer
|
||||||
)
|
)
|
||||||
{
|
{
|
||||||
CHAR8 *i, *j, *Res1 = AllocateZeroPool(9), *Res2 = AllocateZeroPool(11);
|
CHAR8 *i, *j;
|
||||||
|
CHAR8 *Res1 = AllocateZeroPool(9);
|
||||||
|
CHAR8 *Res2 = AllocateZeroPool(11);
|
||||||
CHAR16 UStr[64];
|
CHAR16 UStr[64];
|
||||||
TagPtr Prop, Prop1;
|
TagPtr Prop, Prop1;
|
||||||
BOOLEAN Default = FALSE;
|
BOOLEAN Default = FALSE;
|
||||||
@ -6674,7 +6676,10 @@ CHAR8 *GetOSVersion(IN LOADER_ENTRY *Entry)
|
|||||||
// Implemented by Sherlocks
|
// Implemented by Sherlocks
|
||||||
if (OSVersion == NULL) {
|
if (OSVersion == NULL) {
|
||||||
CHAR8 *s, *fileBuffer, *targetString;
|
CHAR8 *s, *fileBuffer, *targetString;
|
||||||
CHAR8 *Res5 = AllocateZeroPool(5), *Res6 = AllocateZeroPool(6), *Res7 = AllocateZeroPool(7), *Res8 = AllocateZeroPool(8);
|
CHAR8 *Res5 = AllocateZeroPool(5);
|
||||||
|
CHAR8 *Res6 = AllocateZeroPool(6);
|
||||||
|
CHAR8 *Res7 = AllocateZeroPool(7);
|
||||||
|
CHAR8 *Res8 = AllocateZeroPool(8);
|
||||||
UINTN fileLen = 0;
|
UINTN fileLen = 0;
|
||||||
CHAR16 *InstallerLog = L"\\Mac OS X Install Data\\ia.log"; // 10.7
|
CHAR16 *InstallerLog = L"\\Mac OS X Install Data\\ia.log"; // 10.7
|
||||||
if (!FileExists (Entry->Volume->RootDir, InstallerLog)) {
|
if (!FileExists (Entry->Volume->RootDir, InstallerLog)) {
|
||||||
|
@ -541,7 +541,8 @@ PLATFORMDATA ApplePlatformData[] =
|
|||||||
VOID SetDMISettingsForModel(MACHINE_TYPES Model, BOOLEAN Redefine)
|
VOID SetDMISettingsForModel(MACHINE_TYPES Model, BOOLEAN Redefine)
|
||||||
{
|
{
|
||||||
const CHAR8 *i;
|
const CHAR8 *i;
|
||||||
CHAR8 *Res1 = AllocateZeroPool(9), *Res2 = AllocateZeroPool(11);
|
CHAR8 *Res1 = AllocateZeroPool(9);
|
||||||
|
CHAR8 *Res2 = AllocateZeroPool(11);
|
||||||
|
|
||||||
AsciiStrCpyS (gSettings.VendorName, 64, BiosVendor);
|
AsciiStrCpyS (gSettings.VendorName, 64, BiosVendor);
|
||||||
AsciiStrCpyS (gSettings.RomVersion, 64, ApplePlatformData[Model].firmwareVersion);
|
AsciiStrCpyS (gSettings.RomVersion, 64, ApplePlatformData[Model].firmwareVersion);
|
||||||
|
Loading…
Reference in New Issue
Block a user