mirror of
https://github.com/CloverHackyColor/CloverBootloader.git
synced 2024-11-23 11:35:19 +01:00
Another fail-safe check
This commit is contained in:
parent
fad765eb01
commit
73f5205891
@ -511,8 +511,8 @@ void XTheme::ClearScreen() //and restore background and banner
|
||||
// DBG("banner position new style\n");
|
||||
} else {
|
||||
// Use rEFIt default (no placement values speicifed)
|
||||
BannerPlace.XPos = (UGAWidth - Banner.GetWidth()) >> 1;
|
||||
BannerPlace.YPos = (BanHeight >= Banner.GetHeight()) ? (BanHeight - Banner.GetHeight()) : 0;
|
||||
BannerPlace.XPos = (UGAWidth >= Banner.GetWidth() ) ? (UGAWidth - Banner.GetWidth() ) >> 1 : 0;
|
||||
BannerPlace.YPos = (BanHeight >= Banner.GetHeight()) ? (BanHeight - Banner.GetHeight()) : 0;
|
||||
// DBG("banner position old style\n");
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user