aboutsummaryrefslogtreecommitdiff
path: root/src/core/file_sys/vfs_vector.cpp
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2018-09-19 13:54:43 -0400
committerLioncash <mathew1800@gmail.com>2018-09-19 14:22:37 -0400
commit20ebe330713e3ff6209d57de9c2565022f14cf62 (patch)
treee1f1415a031776d6f8b779be1464882d977a1312 /src/core/file_sys/vfs_vector.cpp
parenta832a42fe02edca74f00143f06e682a124de5034 (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/file_sys/vfs_vector.cpp')
0 files changed, 0 insertions, 0 deletions