From 1c8fb6c14230b5fc1356aeab805fb7fbc96b46a1 Mon Sep 17 00:00:00 2001 From: "Marat Zakiyanov (Mario79)" Date: Mon, 2 Apr 2012 18:59:09 +0000 Subject: [PATCH] Fix for r. 2480 git-svn-id: svn://kolibrios.org@2545 a494cfbc-eb01-0410-851d-a64ba20cac60 --- kernel/trunk/kernel.asm | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/kernel/trunk/kernel.asm b/kernel/trunk/kernel.asm index 904b32163d..226592e2e0 100644 --- a/kernel/trunk/kernel.asm +++ b/kernel/trunk/kernel.asm @@ -5125,7 +5125,10 @@ set_screen: jz .epic_fail call calculate_fast_getting_offset_for_WinMapAddress - +; for Qemu or non standart video cards +; Unfortunately [BytesPerScanLine] does not always +; equal to [_display.width] * [ScreenBPP] / 8 + call calculate_fast_getting_offset_for_LFB popad call repos_windows