summaryrefslogtreecommitdiffstats
path: root/src/core/hle/service/nvflinger/nvflinger.h
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2019-01-29 20:48:31 +0100
committerLioncash <mathew1800@gmail.com>2019-01-30 03:13:33 +0100
commitf45c25aabacc70861723a7ca1096a677bd987487 (patch)
treeb3e19530caf4c1f1f6c6e3f2c0697051f50a55d1 /src/core/hle/service/nvflinger/nvflinger.h
parenthle/ipc_helpers: Fix clang-format warnings (diff)
downloadyuzu-f45c25aabacc70861723a7ca1096a677bd987487.tar
yuzu-f45c25aabacc70861723a7ca1096a677bd987487.tar.gz
yuzu-f45c25aabacc70861723a7ca1096a677bd987487.tar.bz2
yuzu-f45c25aabacc70861723a7ca1096a677bd987487.tar.lz
yuzu-f45c25aabacc70861723a7ca1096a677bd987487.tar.xz
yuzu-f45c25aabacc70861723a7ca1096a677bd987487.tar.zst
yuzu-f45c25aabacc70861723a7ca1096a677bd987487.zip
Diffstat (limited to 'src/core/hle/service/nvflinger/nvflinger.h')
-rw-r--r--src/core/hle/service/nvflinger/nvflinger.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/core/hle/service/nvflinger/nvflinger.h b/src/core/hle/service/nvflinger/nvflinger.h
index 9abba555b..5ba64a4ce 100644
--- a/src/core/hle/service/nvflinger/nvflinger.h
+++ b/src/core/hle/service/nvflinger/nvflinger.h
@@ -4,6 +4,7 @@
#pragma once
+#include <array>
#include <memory>
#include <string>
#include <string_view>
@@ -84,7 +85,12 @@ private:
std::shared_ptr<Nvidia::Module> nvdrv;
- std::vector<Display> displays;
+ std::array<Display, 4> displays{{
+ {0, "Default"},
+ {1, "External"},
+ {2, "Edid"},
+ {3, "Internal"},
+ }};
std::vector<std::shared_ptr<BufferQueue>> buffer_queues;
/// Id to use for the next layer that is created, this counter is shared among all displays.