From 3a98ced52cad0b37b6a2f970ccba78a1f0afd3d5 Mon Sep 17 00:00:00 2001 From: Sjoerd van der Berg Date: Thu, 8 Jul 2004 17:44:20 +0000 Subject: [PATCH] Fix annoying bugs with our crap log system Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@1881 --- src/hardware/vga_draw.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/hardware/vga_draw.cpp b/src/hardware/vga_draw.cpp index 891a2895..6cc13fa9 100644 --- a/src/hardware/vga_draw.cpp +++ b/src/hardware/vga_draw.cpp @@ -464,10 +464,11 @@ void VGA_SetupDrawing(Bitu val) { vga.draw.doubleheight=doubleheight; if (doubleheight) vga.draw.lines_scaled=2; else vga.draw.lines_scaled=1; - +#if C_DEBUG LOG(LOG_VGA,LOG_NORMAL)("Width %d, Height %d, fps %f",width,height,fps); LOG(LOG_VGA,LOG_NORMAL)("%s width, %s height aspect %f", doublewidth ? "double":"normal",doubleheight ? "double":"normal",aspect_ratio); +#endif RENDER_SetSize(width,height,8,aspect_ratio,doublewidth,doubleheight); PIC_AddEvent(VGA_VerticalTimer,vga.draw.micro.vtotal); }