summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2018-09-26 00:06:35 +0200
committerLioncash <mathew1800@gmail.com>2018-09-26 02:06:21 +0200
commitf646ca874d8589f4be4a7e6bcce69301e60b24f3 (patch)
tree37a61ccfed8e5ae65803022133989b96dc92c9bb
parentyuzu/main: Move functions stored into static std::function instances out of OnGameListDumpRomFS() (diff)
downloadyuzu-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.cpp2
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,