diff options
| author | 2021-01-02 15:42:16 -0800 | |
|---|---|---|
| committer | 2021-01-02 15:42:16 -0800 | |
| commit | beaa25d777648f4dda17d3a49c1fa7782951109c (patch) | |
| tree | 6ebb3c3e181b81e14baefdcae744e4421b3f808e /src | |
| parent | Merge pull request #5277 from Morph1984/fix-comments (diff) | |
| download | yuzu-beaa25d777648f4dda17d3a49c1fa7782951109c.tar.gz yuzu-beaa25d777648f4dda17d3a49c1fa7782951109c.tar.xz yuzu-beaa25d777648f4dda17d3a49c1fa7782951109c.zip | |
hle: service: nvflinger: buffer_queue: Do not reset id/layer_id on Connect.
- This behavior is a mistake, fixes Katana Zero.
Diffstat (limited to 'src')
| -rw-r--r-- | src/core/hle/service/nvflinger/buffer_queue.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
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) { | |||
| 157 | 157 | ||
| 158 | void BufferQueue::Connect() { | 158 | void BufferQueue::Connect() { |
| 159 | queue_sequence.clear(); | 159 | queue_sequence.clear(); |
| 160 | id = 1; | ||
| 161 | layer_id = 1; | ||
| 162 | is_connect = true; | 160 | is_connect = true; |
| 163 | } | 161 | } |
| 164 | 162 | ||