From beaa25d777648f4dda17d3a49c1fa7782951109c Mon Sep 17 00:00:00 2001 From: bunnei Date: Sat, 2 Jan 2021 15:42:16 -0800 Subject: hle: service: nvflinger: buffer_queue: Do not reset id/layer_id on Connect. - This behavior is a mistake, fixes Katana Zero. --- src/core/hle/service/nvflinger/buffer_queue.cpp | 2 -- 1 file changed, 2 deletions(-) (limited to 'src/core/hle/service/nvflinger') diff --git a/src/core/hle/service/nvflinger/buffer_queue.cpp b/src/core/hle/service/nvflinger/buffer_queue.cpp index c8c6a4d64..0e6bde9f5 100644 --- a/src/core/hle/service/nvflinger/buffer_queue.cpp +++ b/src/core/hle/service/nvflinger/buffer_queue.cpp @@ -157,8 +157,6 @@ void BufferQueue::ReleaseBuffer(u32 slot) { void BufferQueue::Connect() { queue_sequence.clear(); - id = 1; - layer_id = 1; is_connect = true; } -- cgit v1.2.3