+ } while (((ModeNum++ < 10) || (Status == EFI_SUCCESS)) && !ModeSet);
+// while ((Status == EFI_SUCCESS) && (!ModeSet)) {
+// Status = refit_call4_wrapper(GraphicsOutput->QueryMode, GraphicsOutput, ModeNum, &Size, &Info);
+// if ((Status == EFI_SUCCESS) && (Size >= sizeof(*Info)) &&
+// (Info->HorizontalResolution == *ScreenWidth) && (Info->VerticalResolution == *ScreenHeight)) {
+// Status = refit_call2_wrapper(GraphicsOutput->SetMode, GraphicsOutput, ModeNum);
+// ModeSet = (Status == EFI_SUCCESS);
+// } // if
+// ModeNum++;
+// } // while()