mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-07-11 01:25:07 +02:00
Fix Kurohyou again. See #9576
This commit is contained in:
@@ -566,7 +566,7 @@ void FramebufferManagerCommon::SetDepthFrameBuffer(bool isClearingDepth) {
|
||||
bool newlyUsingDepth = (currentRenderVfb_->usageFlags & FB_USAGE_RENDER_DEPTH) == 0;
|
||||
currentRenderVfb_->usageFlags |= FB_USAGE_RENDER_DEPTH;
|
||||
|
||||
uint32_t boundDepthBuffer = gstate.getDepthBufRawAddress();
|
||||
uint32_t boundDepthBuffer = gstate.getDepthBufRawAddress() | 0x04000000;
|
||||
if (currentRenderVfb_->z_address != boundDepthBuffer) {
|
||||
WARN_LOG_N_TIMES(z_reassign, 5, G3D, "Framebuffer at %08x/%d has switched associated depth buffer from %08x to %08x, updating.",
|
||||
currentRenderVfb_->fb_address, currentRenderVfb_->fb_stride, currentRenderVfb_->z_address, boundDepthBuffer);
|
||||
|
||||
Reference in New Issue
Block a user