summaryrefslogtreecommitdiffstats
path: root/src/core/hle/service
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2018-04-19 02:28:50 +0200
committerbunnei <bunneidev@gmail.com>2018-04-19 02:28:50 +0200
commitde185921798d7b4b07afb0153781c8ece70e100f (patch)
tree8bdf91a803224e2de3b3486844b8acb461cbac60 /src/core/hle/service
parentMerge pull request #346 from bunnei/misc-gpu-improvements (diff)
downloadyuzu-de185921798d7b4b07afb0153781c8ece70e100f.tar
yuzu-de185921798d7b4b07afb0153781c8ece70e100f.tar.gz
yuzu-de185921798d7b4b07afb0153781c8ece70e100f.tar.bz2
yuzu-de185921798d7b4b07afb0153781c8ece70e100f.tar.lz
yuzu-de185921798d7b4b07afb0153781c8ece70e100f.tar.xz
yuzu-de185921798d7b4b07afb0153781c8ece70e100f.tar.zst
yuzu-de185921798d7b4b07afb0153781c8ece70e100f.zip
Diffstat (limited to 'src/core/hle/service')
-rw-r--r--src/core/hle/service/nvflinger/nvflinger.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/core/hle/service/nvflinger/nvflinger.cpp b/src/core/hle/service/nvflinger/nvflinger.cpp
index 0d30f54dc..ee1bf0404 100644
--- a/src/core/hle/service/nvflinger/nvflinger.cpp
+++ b/src/core/hle/service/nvflinger/nvflinger.cpp
@@ -5,6 +5,7 @@
#include <algorithm>
#include "common/alignment.h"
+#include "common/microprofile.h"
#include "common/scope_exit.h"
#include "core/core.h"
#include "core/core_timing.h"
@@ -128,6 +129,8 @@ void NVFlinger::Compose() {
// Search for a queued buffer and acquire it
auto buffer = buffer_queue->AcquireBuffer();
+ MicroProfileFlip();
+
if (buffer == boost::none) {
// There was no queued buffer to draw, render previous frame
Core::System::GetInstance().perf_stats.EndGameFrame();