From 57dc3947b3ed193f6f01edca4e68499941997b7b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20Strohh=C3=A4cker?= Date: Sat, 20 Oct 2007 16:01:40 +0000 Subject: [PATCH] that one, too... Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3022 --- src/hardware/vga_memory.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/hardware/vga_memory.cpp b/src/hardware/vga_memory.cpp index 060644e5..71905f75 100644 --- a/src/hardware/vga_memory.cpp +++ b/src/hardware/vga_memory.cpp @@ -15,7 +15,9 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ - + +/* $Id: vga_memory.cpp,v 1.44 2007-10-20 16:01:40 c2woody Exp $ */ + #include #include #include "dosbox.h" @@ -857,7 +859,7 @@ void VGA_StartUpdateLFB(void) { #else vga.lfb.handler = &vgaph.lfbchanges; #endif - MEM_SetLFB(vga.s3.la_window << 4 ,sizeof(vga.mem.linear)/4096, vga.lfb.handler ); + MEM_SetLFB(vga.s3.la_window << 4 ,VGA_MEMORY/4096, vga.lfb.handler ); } void VGA_MapMMIO(void) {