From ca1d4b7b1137f7603ff2df32e5d8a1d58df95c92 Mon Sep 17 00:00:00 2001 From: Lioncash Date: Tue, 29 Jan 2019 14:59:19 -0500 Subject: [PATCH] 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. --- src/core/hle/service/nvflinger/nvflinger.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 nvdrv; - std::array displays{{ + std::array displays{{ {0, "Default"}, {1, "External"}, {2, "Edid"}, {3, "Internal"}, + {4, "Null"}, }}; std::vector> buffer_queues;