remove obsolete define about vga memory size
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3319
This commit is contained in:
parent
9b8d6f45eb
commit
b8fa29c72a
2 changed files with 5 additions and 6 deletions
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Copyright (C) 2002-2008 The DOSBox Team
|
||||
* Copyright (C) 2002-2009 The DOSBox Team
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
|
@ -16,7 +16,7 @@
|
|||
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||
*/
|
||||
|
||||
/* $Id: vga.h,v 1.45 2009-01-26 20:23:44 qbix79 Exp $ */
|
||||
/* $Id: vga.h,v 1.46 2009-03-15 11:28:34 c2woody Exp $ */
|
||||
|
||||
#ifndef DOSBOX_VGA_H
|
||||
#define DOSBOX_VGA_H
|
||||
|
@ -28,7 +28,6 @@
|
|||
//Don't enable keeping changes and mapping lfb probably...
|
||||
#define VGA_LFB_MAPPED
|
||||
//#define VGA_KEEP_CHANGES
|
||||
#define VGA_MEMORY (2*1024*1024)
|
||||
#define VGA_CHANGE_SHIFT 9
|
||||
|
||||
class PageHandler;
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Copyright (C) 2002-2008 The DOSBox Team
|
||||
* Copyright (C) 2002-2009 The DOSBox Team
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
|
@ -16,7 +16,7 @@
|
|||
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||
*/
|
||||
|
||||
/* $Id: vga_s3.cpp,v 1.17 2008-12-28 20:22:12 c2woody Exp $ */
|
||||
/* $Id: vga_s3.cpp,v 1.18 2009-03-15 11:28:35 c2woody Exp $ */
|
||||
|
||||
#include "dosbox.h"
|
||||
#include "inout.h"
|
||||
|
@ -532,7 +532,7 @@ void SVGA_Setup_S3Trio(void) {
|
|||
svga.accepts_mode = &SVGA_S3_AcceptsMode;
|
||||
|
||||
if (vga.vmemsize == 0)
|
||||
vga.vmemsize = VGA_MEMORY; // the most common S3 configuration
|
||||
vga.vmemsize = 2*1024*1024; // the most common S3 configuration
|
||||
|
||||
// Set CRTC 36 to specify amount of VRAM and PCI
|
||||
if (vga.vmemsize < 1024*1024) {
|
||||
|
|
Loading…
Add table
Reference in a new issue