mirror of
https://git.suyu.dev/suyu/suyu
synced 2025-12-17 00:35:12 -06:00
loader: Refactor to also pass filepath into IdentifyType.
This commit is contained in:
@@ -364,7 +364,7 @@ SectionID ElfReader::GetSectionByName(const char* name, int firstSection) const
|
||||
|
||||
namespace Loader {
|
||||
|
||||
FileType AppLoader_ELF::IdentifyType(FileUtil::IOFile& file) {
|
||||
FileType AppLoader_ELF::IdentifyType(FileUtil::IOFile& file, const std::string&) {
|
||||
static constexpr u16 ELF_MACHINE_ARM{0x28};
|
||||
|
||||
u32 magic = 0;
|
||||
|
||||
Reference in New Issue
Block a user