Shaun White Snowboarding: Use compat flag to eliminate a readback per frame

Should be a good performance improvement.

Just another case of a game copying a framebuffer to RAM, then texturing
directly from it.
This commit is contained in:
Henrik Rydgård 2022-06-11 11:58:58 +02:00
parent 59352bd78f
commit 63fdb99ca2
2 changed files with 9 additions and 0 deletions

View file

@ -1784,6 +1784,8 @@ bool FramebufferManagerCommon::NotifyBlockTransferBefore(u32 dstBasePtr, int dst
int srcHeight = height;
int dstWidth = width;
int dstHeight = height;
// This looks at the compat flags BlockTransferAllowCreateFB*.
FindTransferFramebuffers(dstBuffer, srcBuffer, dstBasePtr, dstStride, dstX, dstY, srcBasePtr, srcStride, srcX, srcY, srcWidth, srcHeight, dstWidth, dstHeight, bpp);
if (dstBuffer && srcBuffer) {

View file

@ -690,6 +690,13 @@ ULJM05222 = true
ULAS42040 = true
ULKS46064 = true
# Shaun White Snowboarding (player shadow)
ULES01185 = true
ULUS10399 = true
ULJM05412 = true
NPJH50083 = true
ULJM05570 = true
[IntraVRAMBlockTransferAllowCreateFB]
# Final Fantasy - Type 0
ULJM05900 = true