From c1248eca4302d5a39e7b9ead646a9950e7e3af7a Mon Sep 17 00:00:00 2001 From: Sjoerd van der Berg Date: Sat, 19 Apr 2003 15:42:10 +0000 Subject: [PATCH] memsize option in config file added. Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@945 --- src/dosbox.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/dosbox.cpp b/src/dosbox.cpp index 6b3eae9b..34e4629e 100644 --- a/src/dosbox.cpp +++ b/src/dosbox.cpp @@ -170,6 +170,8 @@ void DOSBOX_Init(void) { secprop->AddInitFunction(&IO_Init); secprop->AddInitFunction(&MEM_Init); + /* Keep 1 mb free for video memory some day */ + secprop->Add_int("memsize",C_MEM_MAX_SIZE-1); secprop->AddInitFunction(&CALLBACK_Init); secprop->AddInitFunction(&PIC_Init); secprop->AddInitFunction(&PROGRAMS_Init);