joncampbell123 / dosbox-x

DOSBox-X fork of the DOSBox project
GNU General Public License v2.0
2.81k stars 383 forks source link

Is it possible to have automatic host window resize based on resolution? #4144

Open ThomasKjoernes opened 1 year ago

ThomasKjoernes commented 1 year ago

Question

Is this possible with some configuration options?

Ideally I would want to be able to enable "autosize" in the menu or config. Then have the window resize according to the resolution set on the virtual hardware including any scalers.

Have you checked that no similar question(s) exist?

Code of Conduct & Contributing Guidelines

ThomasKjoernes commented 1 year ago

Okay, so I have looked some more into this now and it seems it is almost possible by using output=surface. However there seems to be some issues with aspect ratio and checking for automatic "doubling" when the aspect ratio is too large. I will open a separate bug report for this, because I thinkit is a bug.