VERY experimental Nintendo Switch 2 emulator
C++
nvflinger: Emplace Display instances directly
Lioncashf31b335a27b4
diff --git a/src/core/hle/service/nvflinger/nvflinger.cpp b/src/core/hle/service/nvflinger/nvflinger.cppindex d580f779e2..1fca1743da 100644--- a/src/core/hle/service/nvflinger/nvflinger.cpp+++ b/src/core/hle/service/nvflinger/nvflinger.cpp@@ -23,15 +23,10 @@ constexpr u64 frame_ticks = static_cast<u64>(CoreTiming::BASE_CLOCK_RATE / SCREENVFlinger::NVFlinger() {// Add the different displays to the list of displays.- Display default_{0, "Default"};- Display external{1, "External"};- Display edid{2, "Edid"};- Display internal{3, "Internal"};-- displays.emplace_back(default_);- displays.emplace_back(external);- displays.emplace_back(edid);- displays.emplace_back(internal);+ displays.emplace_back(0, "Default");+ displays.emplace_back(1, "External");+ displays.emplace_back(2, "Edid");+ displays.emplace_back(3, "Internal");// Schedule the screen composition eventscomposition_event =