diff options
author | Lioncash <mathew1800@gmail.com> | 2018-09-26 00:06:35 +0200 |
---|---|---|
committer | Lioncash <mathew1800@gmail.com> | 2018-09-26 02:06:21 +0200 |
commit | f646ca874d8589f4be4a7e6bcce69301e60b24f3 (patch) | |
tree | 37a61ccfed8e5ae65803022133989b96dc92c9bb | |
parent | yuzu/main: Move functions stored into static std::function instances out of OnGameListDumpRomFS() (diff) | |
download | yuzu-f646ca874d8589f4be4a7e6bcce69301e60b24f3.tar yuzu-f646ca874d8589f4be4a7e6bcce69301e60b24f3.tar.gz yuzu-f646ca874d8589f4be4a7e6bcce69301e60b24f3.tar.bz2 yuzu-f646ca874d8589f4be4a7e6bcce69301e60b24f3.tar.lz yuzu-f646ca874d8589f4be4a7e6bcce69301e60b24f3.tar.xz yuzu-f646ca874d8589f4be4a7e6bcce69301e60b24f3.tar.zst yuzu-f646ca874d8589f4be4a7e6bcce69301e60b24f3.zip |
-rw-r--r-- | src/yuzu/main.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/yuzu/main.cpp b/src/yuzu/main.cpp index 1b125cbd3..d74489935 100644 --- a/src/yuzu/main.cpp +++ b/src/yuzu/main.cpp @@ -763,7 +763,7 @@ static std::size_t CalculateRomFSEntrySize(const FileSys::VirtualDir& dir, bool out += 1 + CalculateRomFSEntrySize(subdir, full); } - return out + full ? dir->GetFiles().size() : 0; + return out + (full ? dir->GetFiles().size() : 0); } static bool RomFSRawCopy(QProgressDialog& dialog, const FileSys::VirtualDir& src, |