Commit f646ca87 authored by Lioncash's avatar Lioncash
Browse files

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.
parent cbb14606
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment