From 0ed30f380a200632a27312d9448e75af1709628d Mon Sep 17 00:00:00 2001 From: pineappleEA Date: Fri, 8 Dec 2023 20:30:25 +0100 Subject: [PATCH] early-access version 4011 --- README.md | 2 +- src/core/hle/service/nvnflinger/buffer_queue_consumer.cpp | 6 ++++++ 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 3db28b3df..150355f6e 100755 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@ yuzu emulator early access ============= -This is the source code for early-access 4010. +This is the source code for early-access 4011. ## Legal Notice diff --git a/src/core/hle/service/nvnflinger/buffer_queue_consumer.cpp b/src/core/hle/service/nvnflinger/buffer_queue_consumer.cpp index d91886bed..503768786 100755 --- a/src/core/hle/service/nvnflinger/buffer_queue_consumer.cpp +++ b/src/core/hle/service/nvnflinger/buffer_queue_consumer.cpp @@ -90,6 +90,12 @@ Status BufferQueueConsumer::AcquireBuffer(BufferItem* out_buffer, LOG_DEBUG(Service_Nvnflinger, "acquiring slot={}", slot); + if (core->StillTracking(*out_buffer)) { + slots[slot].acquire_called = true; + slots[slot].buffer_state = BufferState::Acquired; + slots[slot].fence = Fence::NoFence(); + } + // If the buffer has previously been acquired by the consumer, set graphic_buffer to nullptr to // avoid unnecessarily remapping this buffer on the consumer side. if (out_buffer->acquire_called) {