Rép : [hatari-devel] window size |
[ Thread Index | Date Index | More lists.tuxfamily.org/hatari-devel Archives ]
I found where is the problem. File vdi.c, routine "VDI_SetResolution()", lines 136 to 140, /* First align to 128 pixels */ VDIWidth = Opt_ValueAlignMinMax(w, 128, MIN_VDI_WIDTH, MAX_VDI_WIDTH); /* then make sure width is 128 + 256*x */ if (VDIWidth > 3*128 && (VDIWidth-128) % 256) VDIWidth -= 128; Width request is 800. First align to 128 pixels returns VDIWidth = 768. Then "then make sure width is 128 + 256*x" returns VDIWidth = 640. !!!!!!!! After that, Log_printf writes: VDI screen: request = 800x600@4, result = 640x592@4 I don’t know the emulator so I don’t know how to correct this calculation and why ! A+ Miguel
|
Mail converted by MHonArc 2.6.19+ | http://listengine.tuxfamily.org/ |