mirror of https://github.com/yuzu-mirror/yuzu
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.pull/8/head
parent
cbb146069a
commit
f646ca874d
Loading…
Reference in New Issue