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