Flat overlays for 19.5:9 aspect ratio screens

Hello everybody! Some days ago i bought a new smartphone, a Redmi Note 8T that has a 19.5:9 aspect ratio screen. Of course I installed RetroArch, anyway I noticed that because of the unusual aspect ratio the overlays were stretched. I don’t know if there’s an option to adjust that or if the devs are working on this “bug”, but i made a little tweak to all flat overlays. All I did was adding the "overlay*_rect = “0.074,0,0.85,1” string to landscape overlays and "overlay*_rect = “0,0.074,1,0.85” to the portrait ones. I hope it can be useful to some of you.

Here’s some screenshot comparsion:

Landscape before:

Landscape after:

Portrait before:

Portrait after:

Download: https://drive.google.com/open?id=1mDkKgjVbHl7Y0G_nICuC94gAIs2CdeTd

2 Likes

Thanks a lot, I was trying an overlay that includes a pad and a background, but my phone’s screen is not 1280x720, making it stretched and covering part of the game screen.

Thanks to your post I discovered how to center and un-stretch it for my screen.

Anyway, I did a calculation of this for the option that allows the screen to extend beyond the notch

Just change the “0.074” to “0.0897”. And change the “0.85” to “0.8205”.

And the overlay scaled correctly ignoring the notch!