diff options
author | bunnei <bunneidev@gmail.com> | 2021-09-05 07:25:20 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-09-05 07:25:20 +0200 |
commit | d9ce179ec27a9ec9977a1aadd66089745c537bc1 (patch) | |
tree | b3b6222557f6da6727959e2808ff860b855de8ca /src/core/hle/service/nvflinger/nvflinger.cpp | |
parent | Merge pull request #6900 from ameerj/attr-reorder (diff) | |
parent | core: hle: service: nvflinger/vi: Improve management of KEvent. (diff) | |
download | yuzu-d9ce179ec27a9ec9977a1aadd66089745c537bc1.tar yuzu-d9ce179ec27a9ec9977a1aadd66089745c537bc1.tar.gz yuzu-d9ce179ec27a9ec9977a1aadd66089745c537bc1.tar.bz2 yuzu-d9ce179ec27a9ec9977a1aadd66089745c537bc1.tar.lz yuzu-d9ce179ec27a9ec9977a1aadd66089745c537bc1.tar.xz yuzu-d9ce179ec27a9ec9977a1aadd66089745c537bc1.tar.zst yuzu-d9ce179ec27a9ec9977a1aadd66089745c537bc1.zip |
Diffstat (limited to 'src/core/hle/service/nvflinger/nvflinger.cpp')
-rw-r--r-- | src/core/hle/service/nvflinger/nvflinger.cpp | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/src/core/hle/service/nvflinger/nvflinger.cpp b/src/core/hle/service/nvflinger/nvflinger.cpp index 941748970..32d4e360a 100644 --- a/src/core/hle/service/nvflinger/nvflinger.cpp +++ b/src/core/hle/service/nvflinger/nvflinger.cpp @@ -61,12 +61,13 @@ void NVFlinger::SplitVSync() { } } -NVFlinger::NVFlinger(Core::System& system_) : system(system_) { - displays.emplace_back(0, "Default", system); - displays.emplace_back(1, "External", system); - displays.emplace_back(2, "Edid", system); - displays.emplace_back(3, "Internal", system); - displays.emplace_back(4, "Null", system); +NVFlinger::NVFlinger(Core::System& system_) + : system(system_), service_context(system_, "nvflinger") { + displays.emplace_back(0, "Default", service_context, system); + displays.emplace_back(1, "External", service_context, system); + displays.emplace_back(2, "Edid", service_context, system); + displays.emplace_back(3, "Internal", service_context, system); + displays.emplace_back(4, "Null", service_context, system); guard = std::make_shared<std::mutex>(); // Schedule the screen composition events |