Browse Source

Update src/core/hle/service/nvnflinger/buffer_queue_core.cpp

Adjust the comments alignment.
pull/484/head
SDK-Chan 8 months ago
committed by crueter
parent
commit
b9adcc9785
  1. 4
      src/core/hle/service/nvnflinger/buffer_queue_core.cpp

4
src/core/hle/service/nvnflinger/buffer_queue_core.cpp

@ -63,8 +63,8 @@ s32 BufferQueueCore::GetMaxBufferCountLocked(bool async) const {
return override_max_buffer_count; return override_max_buffer_count;
} }
// Any buffers that are dequeued by the producer or sitting in the queue waiting to be consumed
// need to have their slots preserved.
// Any buffers that are dequeued by the producer or sitting in the queue waiting to be consumed
// need to have their slots preserved.
for (s32 slot = max_buffer_count; slot < BufferQueueDefs::NUM_BUFFER_SLOTS; ++slot) { for (s32 slot = max_buffer_count; slot < BufferQueueDefs::NUM_BUFFER_SLOTS; ++slot) {
const auto state = slots[slot].buffer_state; const auto state = slots[slot].buffer_state;
if (state == BufferState::Queued || state == BufferState::Dequeued) { if (state == BufferState::Queued || state == BufferState::Dequeued) {

Loading…
Cancel
Save