mirror of
https://github.com/hrydgard/ppsspp.git
synced 2025-04-02 11:01:50 -04:00
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:
parent
59352bd78f
commit
63fdb99ca2
2 changed files with 9 additions and 0 deletions
|
@ -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) {
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue