mirror of
https://github.com/PCSX2/pcsx2.git
synced 2026-11-05 22:04:59 +01:00
This fixes the following issues when custom resolution is selected. - When the width is smaller than the native resolution width, the texture cache targets are removed on every Vsync signal, causing a black screen issue. - The texture cache code needs a 1 returned for the custom resolution upscale multiplier or there'll be some really funny graphical issues. It also removes unnecessary GetConfig (which I think unconditionally does a a file read on Windows) calls if the width was increased - the upscale multiplier is already stored, and the custom resolution width and height calls are now unnecessary. Also fix some whitespace issues.