소스 검색

Limit max resolution to 1280

Johannes Zellner 5 달 전
부모
커밋
7fe3153ae3
1개의 변경된 파일과 4개의 추가작업 그리고 0개의 파일을 삭제
  1. 4 0
      vesa_stage.S

+ 4 - 0
vesa_stage.S

@@ -72,6 +72,10 @@ walk_modes:
 	cmpb  $16, 0x2219
 	jb    walk_modes
 
+	/* TODO: Remove this width cap when display scaling is improved. */
+	cmpw  $1280, 0x2212
+	ja    walk_modes
+
 	/* Check: fits in VRAM. */
 	movw  0x2210, %ax
 	mulw  0x2214