VERY experimental Nintendo Switch 2 emulator
C++
NvFlinger: Don't swap buffers if a frame is missing and always trigger event in sync gpu.
Fernando Sahmkow13d477438928
diff --git a/src/core/hle/service/nvflinger/nvflinger.cpp b/src/core/hle/service/nvflinger/nvflinger.cppindex 86a90526cb..3c08ac9a30 100644--- a/src/core/hle/service/nvflinger/nvflinger.cpp+++ b/src/core/hle/service/nvflinger/nvflinger.cpp@@ -203,7 +203,9 @@ void NVFlinger::Compose() {if (!buffer) {// There was no queued buffer to draw, render previous frame- system.GPU().SwapBuffers({});+ auto& gpu = system.GPU();+ // Always trigger on sync GPU.+ trigger_event = !gpu.IsAsync();continue;}