diff options
author | Morph <39850852+Morph1984@users.noreply.github.com> | 2020-07-17 12:14:13 +0200 |
---|---|---|
committer | Morph <39850852+Morph1984@users.noreply.github.com> | 2020-07-29 12:50:30 +0200 |
commit | f78e44762a109c9dac0e41735aa8af8616cbadfa (patch) | |
tree | 970f0fef8e1ff7be189ae0475e11042dac428c01 | |
parent | main: Split removal cases into their individual functions and address feedback (diff) | |
download | yuzu-f78e44762a109c9dac0e41735aa8af8616cbadfa.tar yuzu-f78e44762a109c9dac0e41735aa8af8616cbadfa.tar.gz yuzu-f78e44762a109c9dac0e41735aa8af8616cbadfa.tar.bz2 yuzu-f78e44762a109c9dac0e41735aa8af8616cbadfa.tar.lz yuzu-f78e44762a109c9dac0e41735aa8af8616cbadfa.tar.xz yuzu-f78e44762a109c9dac0e41735aa8af8616cbadfa.tar.zst yuzu-f78e44762a109c9dac0e41735aa8af8616cbadfa.zip |
-rw-r--r-- | src/yuzu/main.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/yuzu/main.cpp b/src/yuzu/main.cpp index 49c10459b..eeca0acb2 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; |