summaryrefslogtreecommitdiffstats
path: root/src/core/hle/service/nvdrv/devices/nvdisp_disp0.cpp
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2018-08-31 17:31:20 +0200
committerGitHub <noreply@github.com>2018-08-31 17:31:20 +0200
commitf08d24e9c0a8dd7920ca5db5a5765b867eb1d714 (patch)
treef2b144f08f5881d4e1174d9eb0184cf6548f20ce /src/core/hle/service/nvdrv/devices/nvdisp_disp0.cpp
parentMerge pull request #1207 from degasus/hotfix (diff)
parentcore: Make the main System class use the PImpl idiom (diff)
downloadyuzu-f08d24e9c0a8dd7920ca5db5a5765b867eb1d714.tar
yuzu-f08d24e9c0a8dd7920ca5db5a5765b867eb1d714.tar.gz
yuzu-f08d24e9c0a8dd7920ca5db5a5765b867eb1d714.tar.bz2
yuzu-f08d24e9c0a8dd7920ca5db5a5765b867eb1d714.tar.lz
yuzu-f08d24e9c0a8dd7920ca5db5a5765b867eb1d714.tar.xz
yuzu-f08d24e9c0a8dd7920ca5db5a5765b867eb1d714.tar.zst
yuzu-f08d24e9c0a8dd7920ca5db5a5765b867eb1d714.zip
Diffstat (limited to '')
-rw-r--r--src/core/hle/service/nvdrv/devices/nvdisp_disp0.cpp3
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);
}