From 5d800559558efdf965589ce9f1088f7aac1e824c Mon Sep 17 00:00:00 2001 From: sorgelig Date: Wed, 27 May 2020 02:49:11 +0800 Subject: [PATCH] video: add 1920x1440(12) and 2048x1536(13) modes to standard resolutions. --- MiSTer.ini | 2 ++ video.cpp | 2 ++ 2 files changed, 4 insertions(+) diff --git a/MiSTer.ini b/MiSTer.ini index 4f40c30..d25796d 100644 --- a/MiSTer.ini +++ b/MiSTer.ini @@ -66,6 +66,8 @@ dvi_mode=0 ; set to 1 for DVI mode. Audio won't be transmitted throu ; 9 - 1920x1080@50 ;10 - 1366x768@60 ;11 - 1024x600@60 +;12 - 1920x1440@60 +;13 - 2048x1536@60 ; ; custom mode: hact,hfp,hs,hbp,vact,vfp,vs,vbp,Fpix_in_KHz ; video_mode=1280,110,40,220,720,5,5,20,74250 diff --git a/video.cpp b/video.cpp index f413cef..eef8373 100644 --- a/video.cpp +++ b/video.cpp @@ -81,6 +81,8 @@ vmode_t vmodes[] = { { 1920, 528, 44, 148, 1080, 4, 5, 36 }, 148.5 }, //9 { { 1366, 70, 143, 213, 768, 3, 3, 24 }, 85.5 }, //10 { { 1024, 40, 104, 144, 600, 1, 3, 18 }, 48.96 }, //11 + { { 1920, 48, 32, 80, 1440, 2, 4, 38 }, 185.203 }, //12 + { { 2048, 48, 32, 80, 1536, 2, 4, 38 }, 209.318 }, //13 }; #define VMODES_NUM (sizeof(vmodes) / sizeof(vmodes[0]))