]> code.delx.au - refind/blobdiff - refind/config.c
Fixes to obscure and subtle bugs in code that sets screen resolution.
[refind] / refind / config.c
index b1e09294ca558a9e78d5c3043da362d67ce1704b..441d2a4468fe52083bd65b2aaf102691a36fb7ef 100644 (file)
@@ -353,6 +353,8 @@ VOID ReadConfig(CHAR16 *FileName)
        GlobalConfig.DontScanDirs = StrDuplicate(SelfDirPath);
        MyFreePool(GlobalConfig.DontScanFiles);
        GlobalConfig.DontScanFiles = StrDuplicate(DONT_SCAN_FILES);
+//        egGetScreenSize(&GlobalConfig.RequestedScreenWidth, &GlobalConfig.RequestedScreenHeight);
+//       GlobalConfig.RequestedTextMode = ST->ConOut->Mode->Mode;
     }
 
     if (!FileExists(SelfDir, FileName)) {