1
0
Fork 0

Fix annoying bugs with our crap log system

Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@1881
This commit is contained in:
Sjoerd van der Berg 2004-07-08 17:44:20 +00:00
parent 36d07f2f46
commit 3a98ced52c

View file

@ -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);
}