aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2019-01-29 14:59:19 -0500
committerLioncash <mathew1800@gmail.com>2019-01-29 21:13:33 -0500
commitca1d4b7b1137f7603ff2df32e5d8a1d58df95c92 (patch)
treea49c0551cb2aa40e77e8b65cde50152979d9648a /src
parente46738887d83962d8bfab0469e546fcd820c96e1 (diff)
nvflinger: Add the Null display
In addition to the default, external, EDID, and internal displays, there's also a null display provided as well, which as the name suggests, does nothing but discard all commands given to it. This is provided for completeness.
Diffstat (limited to 'src')
-rw-r--r--src/core/hle/service/nvflinger/nvflinger.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/core/hle/service/nvflinger/nvflinger.h b/src/core/hle/service/nvflinger/nvflinger.h
index 5ba64a4ce2..8f9a0a7f85 100644
--- a/src/core/hle/service/nvflinger/nvflinger.h
+++ b/src/core/hle/service/nvflinger/nvflinger.h
@@ -85,11 +85,12 @@ private:
std::shared_ptr<Nvidia::Module> nvdrv;
- std::array<Display, 4> displays{{
+ std::array<Display, 5> displays{{
{0, "Default"},
{1, "External"},
{2, "Edid"},
{3, "Internal"},
+ {4, "Null"},
}};
std::vector<std::shared_ptr<BufferQueue>> buffer_queues;