summaryrefslogtreecommitdiffstats
path: root/src/core/hle/service/nvflinger/nvflinger.cpp
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2018-04-20 15:44:40 +0200
committerGitHub <noreply@github.com>2018-04-20 15:44:40 +0200
commitb11f6f90e7f0c6f13f3ac28042a6acd17265dea0 (patch)
tree69298d8974a70abb4c83f4fe044c180b49f7e00d /src/core/hle/service/nvflinger/nvflinger.cpp
parentMerge pull request #364 from lioncash/thread-local (diff)
parentservice: Use nested namespace specifiers where applicable (diff)
downloadyuzu-b11f6f90e7f0c6f13f3ac28042a6acd17265dea0.tar
yuzu-b11f6f90e7f0c6f13f3ac28042a6acd17265dea0.tar.gz
yuzu-b11f6f90e7f0c6f13f3ac28042a6acd17265dea0.tar.bz2
yuzu-b11f6f90e7f0c6f13f3ac28042a6acd17265dea0.tar.lz
yuzu-b11f6f90e7f0c6f13f3ac28042a6acd17265dea0.tar.xz
yuzu-b11f6f90e7f0c6f13f3ac28042a6acd17265dea0.tar.zst
yuzu-b11f6f90e7f0c6f13f3ac28042a6acd17265dea0.zip
Diffstat (limited to 'src/core/hle/service/nvflinger/nvflinger.cpp')
-rw-r--r--src/core/hle/service/nvflinger/nvflinger.cpp6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/core/hle/service/nvflinger/nvflinger.cpp b/src/core/hle/service/nvflinger/nvflinger.cpp
index ee1bf0404..a99ebc8e6 100644
--- a/src/core/hle/service/nvflinger/nvflinger.cpp
+++ b/src/core/hle/service/nvflinger/nvflinger.cpp
@@ -16,8 +16,7 @@
#include "video_core/renderer_base.h"
#include "video_core/video_core.h"
-namespace Service {
-namespace NVFlinger {
+namespace Service::NVFlinger {
constexpr size_t SCREEN_REFRESH_RATE = 60;
constexpr u64 frame_ticks = static_cast<u64>(BASE_CLOCK_RATE / SCREEN_REFRESH_RATE);
@@ -165,5 +164,4 @@ Display::Display(u64 id, std::string name) : id(id), name(std::move(name)) {
vsync_event = Kernel::Event::Create(Kernel::ResetType::Pulse, "Display VSync Event");
}
-} // namespace NVFlinger
-} // namespace Service
+} // namespace Service::NVFlinger