diff options
author | bunnei <bunneidev@gmail.com> | 2018-01-17 07:23:43 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-01-17 07:23:43 +0100 |
commit | 9ae55884d2ccdb15e9eef7dabb4a76cb90b697c2 (patch) | |
tree | 499549b1713ce88df4b9285bcba065cc79144acc /src/core/hle/service | |
parent | Merge pull request #34 from shinyquagsire23/hid-sharedmem-layouts-circbufs-meta (diff) | |
parent | UI: Fix frame rate perf stats (diff) | |
download | yuzu-9ae55884d2ccdb15e9eef7dabb4a76cb90b697c2.tar yuzu-9ae55884d2ccdb15e9eef7dabb4a76cb90b697c2.tar.gz yuzu-9ae55884d2ccdb15e9eef7dabb4a76cb90b697c2.tar.bz2 yuzu-9ae55884d2ccdb15e9eef7dabb4a76cb90b697c2.tar.lz yuzu-9ae55884d2ccdb15e9eef7dabb4a76cb90b697c2.tar.xz yuzu-9ae55884d2ccdb15e9eef7dabb4a76cb90b697c2.tar.zst yuzu-9ae55884d2ccdb15e9eef7dabb4a76cb90b697c2.zip |
Diffstat (limited to 'src/core/hle/service')
-rw-r--r-- | src/core/hle/service/nvdrv/devices/nvdisp_disp0.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/core/hle/service/nvdrv/devices/nvdisp_disp0.cpp b/src/core/hle/service/nvdrv/devices/nvdisp_disp0.cpp index c42a65b36..b65d79f11 100644 --- a/src/core/hle/service/nvdrv/devices/nvdisp_disp0.cpp +++ b/src/core/hle/service/nvdrv/devices/nvdisp_disp0.cpp @@ -4,6 +4,7 @@ #include "common/assert.h" #include "common/logging/log.h" +#include "core/core.h" #include "core/hle/service/nvdrv/devices/nvdisp_disp0.h" #include "core/hle/service/nvdrv/devices/nvmap.h" #include "video_core/renderer_base.h" @@ -28,6 +29,8 @@ void nvdisp_disp0::flip(u32 buffer_handle, u32 offset, u32 format, u32 width, u3 using PixelFormat = RendererBase::FramebufferInfo::PixelFormat; const RendererBase::FramebufferInfo framebuffer_info{ addr, offset, width, height, stride, static_cast<PixelFormat>(format)}; + + Core::System::GetInstance().perf_stats.EndGameFrame(); VideoCore::g_renderer->SwapBuffers(framebuffer_info); } |