mirror of
https://github.com/CloverHackyColor/CloverBootloader.git
synced 2025-01-22 21:01:31 +01:00
Wrong type for FileExists()
This commit is contained in:
parent
9dcb75cbd9
commit
a4ac6daf97
@ -560,7 +560,7 @@ EFI_STATUS egScreenShot(VOID)
|
||||
for (UINTN Index = 0; Index < 60; Index++) {
|
||||
// ScreenshotName = PoolPrint(L"%a%d.png", ScreenShotName, Index);
|
||||
XStringW Name = SWPrintf("EFI\\CLOVER\\misc\\screenshot%lld.png", Index);
|
||||
if (!FileExists(SelfRootDir, Name)) {
|
||||
if (!FileExists(SelfRootDir, Name.wc_str())) {
|
||||
Status = egSaveFile(SelfRootDir, Name.wc_str(), FileData, FileDataLength);
|
||||
if (!EFI_ERROR(Status)) {
|
||||
break;
|
||||
|
Loading…
Reference in New Issue
Block a user