Quick workaround for Gripshift.

Fixes #21367
This commit is contained in:
Henrik Rydgård
2026-03-07 18:54:08 +01:00
parent b4664bf3f2
commit ffd21dba00
+1 -1
View File
@@ -1090,7 +1090,7 @@ bool TextureCacheCommon::MatchFramebuffer(
matchInfo->xOffset = entry.bufw == 0 ? 0 : -(-texelOffset % (int)entry.bufw);
}
if (matchInfo->yOffset >= 512) {
if (matchInfo->yOffset >= 512 && !PSP_CoreParameter().compat.flags().AllowLargeFBTextureOffsets) {
// Reject unreasonably large y offsets. 512 is the largest texture size.
return false;
}