GS Add horizontal overscan

This commit is contained in:
refractionpcsx2 2022-06-05 18:37:40 +01:00
parent f70c67ad7f
commit e234fb32d9
3 changed files with 8 additions and 3 deletions

View File

@ -518,6 +518,10 @@ GSVector2i GSState::GetResolution()
// such as Johnny Mosleys Mad Trix and Transformers render too much but design it to go off the screen.
int magnified_width = (VideoModeDividers[videomode].z + 1) / GetDisplayHMagnification();
// When viewing overscan allow up to the overscan size
if (GSConfig.PCRTCOverscan)
magnified_width = std::max(magnified_width, offsets.x);
GSVector4i total_rect = GetDisplayRect(0).runion(GetDisplayRect(1));
total_rect.z = total_rect.z - total_rect.x;
total_rect.w = total_rect.w - total_rect.y;

View File

@ -273,8 +273,8 @@ public:
};
const GSVector4i VideoModeOffsetsOverscan[6] = {
GSVector4i(640, 240, 642, 12),
GSVector4i(640, 288, 676, 18),
GSVector4i(711, 243, 498, 12),
GSVector4i(702, 288, 532, 18),
GSVector4i(640, 480, 276, 34),
GSVector4i(720, 480, 232, 35),
GSVector4i(1280, 720, 302, 24),

View File

@ -95,7 +95,8 @@ const char* dialog_message(int ID, bool* updateText)
"Used for screen positioning and screen shake in Wipeout Fusion.");
case IDC_PCRTC_OVERSCAN:
return cvtString("Shows more overscan area for some games which expect there to be some.\n"
"Used for games like Need for Speed Underground (PAL) and Crash Nitro Kart (PAL).");
"Used for games like Need for Speed Underground (PAL),Crash Nitro Kart (PAL) \n"
"and Espgaluda (When using certain Tate modes)");
case IDC_DISABLE_INTERLACE_OFFSETS:
return cvtString("Enable: Removes the offset for interlacing when upscaling.\n"
"Can reduce blurring in some games, where the opposite is true most of the time.\n"