Display: split phycial resolution and scaled resolution

This commit is contained in:
李通洲
2023-01-17 19:09:18 +08:00
parent f4a58036fa
commit 58999995f1
9 changed files with 48 additions and 13 deletions
+5
View File
@@ -27,6 +27,11 @@ void ffPrintDisplay(FFinstance* instance)
if(result->refreshRate > 0)
printf(" @ %iHz", result->refreshRate);
if(
result->scaledWidth > 0 && result->scaledWidth != result->width &&
result->scaledHeight > 0 && result->scaledHeight != result->height)
printf(" (as %ix%i)", result->scaledWidth, result->scaledHeight);
putchar('\n');
}
else