fssystem: fix support for parsing newer-format BKTR NCAs
Apparently, at some point they started allowing maxlayers=3, which caused this code to not work.

Looking at latest FS, they always reference DataStorage instead of level+2 for the final level.

This fixes parsing update romfs for newer games, e.g. Super Mario Galaxy 2.
1 parent de9b020 commit 652519da2eb7ccb2a113aa5883e4e405e00e2b1c
@Michael Scire Michael Scire authored on 8 Oct
Showing 1 changed file
View
libraries/libstratosphere/source/fssystem/fssystem_hierarchical_integrity_verification_storage.cpp