Skip to content

VERY experimental Nintendo Switch 2 emulator

C++

nvflinger: Add the Null display

Lioncashca1d4b7b1137
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;