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:
parent
36d07f2f46
commit
3a98ced52c
1 changed files with 2 additions and 1 deletions
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue