libretro / beetle-psx-libretro

Standalone port/fork of Mednafen PSX to the Libretro API.
GNU General Public License v2.0
311 stars 131 forks source link

Make "Crop Overscan" dynamically crop (and center) the screen #819

Closed ds22x closed 3 years ago

ds22x commented 3 years ago

In particularly inspired by https://github.com/libretro/beetle-psx-libretro/issues/719, this makes it so the Crop Overscan option dynamically crop and center the screen based on how PCSX-ReArmed and DuckStation deal with it (and especially PAL games, which have varying amount of crop, sometimes even in the same game, which makes manually adjusting the overscan and image offset values painful). This also makes it that, if Crop Overscan is disabled, it will revert back to the unmodified image, including the varying PAL overscans.