summaryrefslogtreecommitdiff
path: root/src/core
diff options
context:
space:
mode:
authorGravatar bunnei2022-03-19 22:48:49 -0700
committerGravatar bunnei2022-03-24 18:13:34 -0700
commit3b13f5e43bc6dd89af80ffa857d3fb4aa5118116 (patch)
tree935cdcd8ce04a30a966279bcf6abbcf64cf5e17c /src/core
parenthle: nvflinger: Merge Rect with Common::Rectangle. (diff)
downloadyuzu-3b13f5e43bc6dd89af80ffa857d3fb4aa5118116.tar.gz
yuzu-3b13f5e43bc6dd89af80ffa857d3fb4aa5118116.tar.xz
yuzu-3b13f5e43bc6dd89af80ffa857d3fb4aa5118116.zip
hle: nvflinger: buffer_queue_consumer: AcquireBuffer: Fix typo.
Diffstat (limited to 'src/core')
-rw-r--r--src/core/hle/service/nvflinger/buffer_queue_consumer.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/hle/service/nvflinger/buffer_queue_consumer.cpp b/src/core/hle/service/nvflinger/buffer_queue_consumer.cpp
index cf12cceff..677bec932 100644
--- a/src/core/hle/service/nvflinger/buffer_queue_consumer.cpp
+++ b/src/core/hle/service/nvflinger/buffer_queue_consumer.cpp
@@ -49,7 +49,7 @@ Status BufferQueueConsumer::AcquireBuffer(BufferItem* out_buffer,
49 if (expected_present.count() != 0) { 49 if (expected_present.count() != 0) {
50 constexpr auto MAX_REASONABLE_NSEC = 1000000000LL; // 1 second 50 constexpr auto MAX_REASONABLE_NSEC = 1000000000LL; // 1 second
51 51
52 // The expected_presenst_ns argument indicates when the buffer is expected to be 52 // The expected_present argument indicates when the buffer is expected to be
53 // presented on-screen. 53 // presented on-screen.
54 while (core->queue.size() > 1 && !core->queue[0].is_auto_timestamp) { 54 while (core->queue.size() > 1 && !core->queue[0].is_auto_timestamp) {
55 const auto& buffer_item{core->queue[1]}; 55 const auto& buffer_item{core->queue[1]};