diff options
| author | 2019-01-29 14:59:19 -0500 | |
|---|---|---|
| committer | 2019-01-29 21:13:33 -0500 | |
| commit | 7e9249740205b43ff42005ef4b710d0af3be2899 (patch) | |
| tree | a49c0551cb2aa40e77e8b65cde50152979d9648a | |
| parent | nvflinger: Change log message in OpenDisplay to be a debug log instead of a w... (diff) | |
| download | yuzu-7e9249740205b43ff42005ef4b710d0af3be2899.tar.gz yuzu-7e9249740205b43ff42005ef4b710d0af3be2899.tar.xz yuzu-7e9249740205b43ff42005ef4b710d0af3be2899.zip | |
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.
| -rw-r--r-- | src/core/hle/service/nvflinger/nvflinger.h | 3 |
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 5ba64a4ce..8f9a0a7f8 100644 --- a/src/core/hle/service/nvflinger/nvflinger.h +++ b/src/core/hle/service/nvflinger/nvflinger.h | |||
| @@ -85,11 +85,12 @@ private: | |||
| 85 | 85 | ||
| 86 | std::shared_ptr<Nvidia::Module> nvdrv; | 86 | std::shared_ptr<Nvidia::Module> nvdrv; |
| 87 | 87 | ||
| 88 | std::array<Display, 4> displays{{ | 88 | std::array<Display, 5> displays{{ |
| 89 | {0, "Default"}, | 89 | {0, "Default"}, |
| 90 | {1, "External"}, | 90 | {1, "External"}, |
| 91 | {2, "Edid"}, | 91 | {2, "Edid"}, |
| 92 | {3, "Internal"}, | 92 | {3, "Internal"}, |
| 93 | {4, "Null"}, | ||
| 93 | }}; | 94 | }}; |
| 94 | std::vector<std::shared_ptr<BufferQueue>> buffer_queues; | 95 | std::vector<std::shared_ptr<BufferQueue>> buffer_queues; |
| 95 | 96 | ||