mirror of
https://github.com/yuzu-emu/yuzu-android.git
synced 2025-06-10 19:08:24 -05:00
loader: Refactor to also pass filepath into IdentifyType.
This commit is contained in:
@ -45,7 +45,7 @@ struct ModHeader {
|
||||
};
|
||||
static_assert(sizeof(ModHeader) == 0x1c, "ModHeader has incorrect size.");
|
||||
|
||||
FileType AppLoader_NRO::IdentifyType(FileUtil::IOFile& file) {
|
||||
FileType AppLoader_NRO::IdentifyType(FileUtil::IOFile& file, const std::string&) {
|
||||
// Read NSO header
|
||||
NroHeader nro_header{};
|
||||
file.Seek(0, SEEK_SET);
|
||||
|
Reference in New Issue
Block a user