agg23 / openfpga-SNES

SNES for the Analogue Pocket
GNU General Public License v3.0
382 stars 15 forks source link

Screenshots are stretched 2x horizontally #61

Open SpookySquidGames opened 1 year ago

SpookySquidGames commented 1 year ago

When using the analogue pocket screenshot function (analogue button + right option button) the saved image doubles the pixels horizontally resulting in a super stretched image file. This bug has been around since screenshot functionality was added, so wasn't introduced in any of the recent updates.

agg23 commented 1 year ago

This is an unfortunate result of how the screenshots are taken. Screenshots are recorded to disk as square pixels, with no regard to the display aspect ratio. Also, currently there is no mechanism to detect screenshots being taken, so I can't drop to 256x224 (instead of 512x224) when a screenshot is taken (this workaround wouldn't work properly on games that actually use the 512 mode though).

I suppose I could add a setting that forces 256 wide (disabling the 512 modes), but I would much rather Analogue fix their screenshot functionality. I'll leave this issue open, but hopefully this is fixed by Analogue in the future.