From 4e421529c7a48a55360c941dabf6fa16079e6ae8 Mon Sep 17 00:00:00 2001 From: Sjoerd van der Berg Date: Sun, 22 Dec 2002 15:24:02 +0000 Subject: [PATCH] render section Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@596 --- src/dosbox.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/dosbox.cpp b/src/dosbox.cpp index d4ab1454..71275e5d 100644 --- a/src/dosbox.cpp +++ b/src/dosbox.cpp @@ -169,7 +169,9 @@ void DOSBOX_Init(void) { secprop->AddInitFunction(&PROGRAMS_Init); secprop->AddInitFunction(&TIMER_Init); secprop->AddInitFunction(&CMOS_Init); - secprop->AddInitFunction(&RENDER_Init); + secprop=control->AddSection_prop("render",&RENDER_Init); + secprop->Add_int("frameskip",0); + secprop->Add_bool("keepsmall",false); secprop->Add_string("snapshots","snapshots"); secprop=control->AddSection_prop("cpu",&CPU_Init);