Skip to content

VERY experimental Nintendo Switch 2 emulator

C++

main: Silence [[fallthrough]] warning

Morph092dda59cb38
diff --git a/src/yuzu/main.cpp b/src/yuzu/main.cpp
index 49c10459b7..eeca0acb2b 100644
--- a/src/yuzu/main.cpp
+++ b/src/yuzu/main.cpp
@@ -1421,11 +1421,10 @@ void GMainWindow::OnGameListRemoveInstalledEntry(u64 program_id, InstalledEntryT
[[fallthrough]];
case InstalledEntryType::Update:
RemoveUpdateContent(program_id, entry_type);
- if (type == InstalledEntryType::Game) {
- [[fallthrough]];
- } else {
+ if (type != InstalledEntryType::Game) {
break;
}
+ [[fallthrough]];
case InstalledEntryType::AddOnContent:
RemoveAddOnContent(program_id, entry_type);
break;