Skip to content

VERY experimental Nintendo Switch 2 emulator

C++

bootmanager: Return value in impossible case

lat9nq178a4e3e2d02
diff --git a/src/yuzu/bootmanager.cpp b/src/yuzu/bootmanager.cpp
index 01dc51cffc..1cf2394960 100644
--- a/src/yuzu/bootmanager.cpp
+++ b/src/yuzu/bootmanager.cpp
@@ -163,6 +163,7 @@ public:
case Settings::VSyncMode::Mailbox:
return 2;
}
+ return 0;
}();
format.setSwapInterval(main_surface ? swap_interval : 0);