mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-07-11 01:25:07 +02:00
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user