From ad89c1c4deb60fbf4f4bf470cf57883264998d2e Mon Sep 17 00:00:00 2001 From: Sjoerd van der Berg Date: Thu, 10 Jun 2004 20:24:14 +0000 Subject: [PATCH] Fix vesa subfunction 06 from getting the wrong subfunction Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@1826 --- src/ints/int10.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ints/int10.cpp b/src/ints/int10.cpp index 2c362415..94284d9d 100644 --- a/src/ints/int10.cpp +++ b/src/ints/int10.cpp @@ -342,7 +342,7 @@ graphics_chars: break; case 0x06: reg_al=0x4f; - reg_ah=VESA_ScanLineLength(reg_al,reg_bx,reg_cx,reg_dx); + reg_ah=VESA_ScanLineLength(reg_bl,reg_bx,reg_cx,reg_dx); break; case 0x07: switch (reg_bl) {