loathingKernel / pcsxr

https://pcsxr.svn.codeplex.com/svn/pcsxr
GNU General Public License v3.0
13 stars 2 forks source link

Linux gpu viewport centering #7

Open VioletDarkKitty opened 3 years ago

VioletDarkKitty commented 3 years ago

With either the xvideo or open gl gpu plugins, games which draw outside of the screen are not shown properly. The screen is shown as too wide. Setting to force 4:3 or psx resolution also does not fix it. 4:3 mode cuts off part of the top of the screen. With only psx resolution set, the display view is still slightly too low.

I haven't got a way to build for windows to test but checking with 1.9.93 on windows, the screen is displayed correctly. Comparing the source to the current has a lot of changes but replacing the source of peopsxgl with the one in 1.9.93 and using that on Linux also does not fix the problem.

libpcsxcore/gpu.c and gpu.h have few changes and nothing that I can see that would cause a problem like this. The changes are breaking if you copy from 1.9.93 though.