aboutsummaryrefslogtreecommitdiff
path: root/src/core/file_sys/fsmitm_romfsbuild.cpp
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2018-09-25 18:06:35 -0400
committerLioncash <mathew1800@gmail.com>2018-09-25 20:06:21 -0400
commit3a8a7d6f05922b79e43defee2dcaea322efa56f5 (patch)
tree37a61ccfed8e5ae65803022133989b96dc92c9bb /src/core/file_sys/fsmitm_romfsbuild.cpp
parent0f25865a140787f076cdffe40867186ff45e001f (diff)
yuzu/main: Resolve precedence bug within CalculateRomFSEntrySize()
Ternary operators have a lower precedence than arithmetic operators, so what was actually occurring here is "return (out + full) ? x : y" which most definitely isn't intended, given we calculate out recursively above. We were essentially doing a lot of work for nothing.
Diffstat (limited to 'src/core/file_sys/fsmitm_romfsbuild.cpp')
0 files changed, 0 insertions, 0 deletions