diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/core/hle/service/nvflinger/nvflinger.cpp | 3 |
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 @@ | |||
| 5 | #include <algorithm> | 5 | #include <algorithm> |
| 6 | 6 | ||
| 7 | #include "common/alignment.h" | 7 | #include "common/alignment.h" |
| 8 | #include "common/microprofile.h" | ||
| 8 | #include "common/scope_exit.h" | 9 | #include "common/scope_exit.h" |
| 9 | #include "core/core.h" | 10 | #include "core/core.h" |
| 10 | #include "core/core_timing.h" | 11 | #include "core/core_timing.h" |
| @@ -128,6 +129,8 @@ void NVFlinger::Compose() { | |||
| 128 | // Search for a queued buffer and acquire it | 129 | // Search for a queued buffer and acquire it |
| 129 | auto buffer = buffer_queue->AcquireBuffer(); | 130 | auto buffer = buffer_queue->AcquireBuffer(); |
| 130 | 131 | ||
| 132 | MicroProfileFlip(); | ||
| 133 | |||
| 131 | if (buffer == boost::none) { | 134 | if (buffer == boost::none) { |
| 132 | // There was no queued buffer to draw, render previous frame | 135 | // There was no queued buffer to draw, render previous frame |
| 133 | Core::System::GetInstance().perf_stats.EndGameFrame(); | 136 | Core::System::GetInstance().perf_stats.EndGameFrame(); |