diff options
author | Lioncash <mathew1800@gmail.com> | 2018-08-30 16:50:54 +0200 |
---|---|---|
committer | Lioncash <mathew1800@gmail.com> | 2018-08-31 13:16:57 +0200 |
commit | e2457418dae19b889b2ad85255bb95d4cd0e4bff (patch) | |
tree | 76ad194f1cc1933f7907223dbb2542b3614576e5 /src/core/hle/service/nvdrv | |
parent | Merge pull request #1198 from lioncash/kernel (diff) | |
download | yuzu-e2457418dae19b889b2ad85255bb95d4cd0e4bff.tar yuzu-e2457418dae19b889b2ad85255bb95d4cd0e4bff.tar.gz yuzu-e2457418dae19b889b2ad85255bb95d4cd0e4bff.tar.bz2 yuzu-e2457418dae19b889b2ad85255bb95d4cd0e4bff.tar.lz yuzu-e2457418dae19b889b2ad85255bb95d4cd0e4bff.tar.xz yuzu-e2457418dae19b889b2ad85255bb95d4cd0e4bff.tar.zst yuzu-e2457418dae19b889b2ad85255bb95d4cd0e4bff.zip |
Diffstat (limited to 'src/core/hle/service/nvdrv')
-rw-r--r-- | src/core/hle/service/nvdrv/devices/nvdisp_disp0.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/core/hle/service/nvdrv/devices/nvdisp_disp0.cpp b/src/core/hle/service/nvdrv/devices/nvdisp_disp0.cpp index 8bc49935a..0b37098e1 100644 --- a/src/core/hle/service/nvdrv/devices/nvdisp_disp0.cpp +++ b/src/core/hle/service/nvdrv/devices/nvdisp_disp0.cpp @@ -7,6 +7,7 @@ #include "core/core.h" #include "core/hle/service/nvdrv/devices/nvdisp_disp0.h" #include "core/hle/service/nvdrv/devices/nvmap.h" +#include "core/perf_stats.h" #include "video_core/gpu.h" #include "video_core/renderer_base.h" @@ -31,7 +32,7 @@ void nvdisp_disp0::flip(u32 buffer_handle, u32 offset, u32 format, u32 width, u3 transform, crop_rect}; auto& instance = Core::System::GetInstance(); - instance.perf_stats.EndGameFrame(); + instance.GetPerfStats().EndGameFrame(); instance.Renderer().SwapBuffers(framebuffer); } |