shithub: riscv

Download patch

ref: c3d372c3dae46dbf4657ded30dc3b2bf6c369f59
parent: 98b1a59547584bd823ed0aa3db0a65c6af56e0d6
author: aiju <devnull@localhost>
date: Sat Jun 17 21:51:28 EDT 2017

vmx(1): fix '-v text'

--- a/sys/src/cmd/vmx/vga.c
+++ b/sys/src/cmd/vmx/vga.c
@@ -657,6 +657,8 @@
 
 	if(strcmp(fbstring, "text") == 0){
 		curmode = &textmode;
+		maxw = 640;
+		maxh = 400;
 		return;
 	}else if(strncmp(fbstring, "vesa:", 5) == 0){
 		vesamode = 1;