diff options
author | Lioncash <mathew1800@gmail.com> | 2018-09-19 13:54:43 -0400 |
---|---|---|
committer | Lioncash <mathew1800@gmail.com> | 2018-09-19 14:22:37 -0400 |
commit | c8c410565927b54b2a1353ca00a1c4de38a74816 (patch) | |
tree | e1f1415a031776d6f8b779be1464882d977a1312 /src/core/loader/nax.h | |
parent | f272261c210877fadc486d6a0413f4770f04ca89 (diff) |
nax: Avoid unnecessary calls to AsNCA() in IdentifyType()
AsNCA() allocates an NCA instance every time it's called. In the current
manner it's used, it's quite inefficient as it's making a redundant
allocation.
We can just amend the order of the conditionals to make it easier to
just call it once.
Diffstat (limited to 'src/core/loader/nax.h')
0 files changed, 0 insertions, 0 deletions