PE_state.video.v_scale = (kBootArgsFlagHiDPI & args->flags) ? 2 : 1;
strlcpy(PE_state.video.v_pixelFormat, "PPPPPPPP",
sizeof(PE_state.video.v_pixelFormat));
+
+#ifdef kBootArgsFlagHiDPI
+ if (args->flags & kBootArgsFlagHiDPI)
+ PE_state.video.v_scale = kPEScaleFactor2x;
+ else
+ PE_state.video.v_scale = kPEScaleFactor1x;
+#else
+ PE_state.video.v_scale = kPEScaleFactor1x;
+#endif
}
if (!vm_initialized) {