aboutsummaryrefslogtreecommitdiff
path: root/src/common/file_util.cpp
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2018-09-19 14:13:00 -0400
committerLioncash <mathew1800@gmail.com>2018-09-19 14:22:37 -0400
commit2eeb830edb109856f8db4cc315a7ce3c8f0887e2 (patch)
tree5261c2ea094b4022505cd8e6f64911f877304ebd /src/common/file_util.cpp
parent20ebe330713e3ff6209d57de9c2565022f14cf62 (diff)
nax: Avoid re-parsing NAX data with GetFileType()
An instance of the NAX apploader already has an existing NAX instance in memory. Calling directly into IdentifyType() directly would re-parse the whole file again into yet another NAX instance, only to toss it away again. This gets rid of unnecessary/redundant file parsing and allocations.
Diffstat (limited to 'src/common/file_util.cpp')
0 files changed, 0 insertions, 0 deletions