diff options
Diffstat (limited to 'src/core/loader/elf.h')
-rw-r--r-- | src/core/loader/elf.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/core/loader/elf.h b/src/core/loader/elf.h index 1c476c86b..b6e6651f5 100644 --- a/src/core/loader/elf.h +++ b/src/core/loader/elf.h @@ -18,6 +18,13 @@ public: AppLoader_ELF(std::unique_ptr<FileUtil::IOFile>&& file) : AppLoader(std::move(file)) { } /** + * Returns the type of the file + * @param file FileUtil::IOFile open file + * @return FileType found, or FileType::Error if this loader doesn't know it + */ + static FileType IdentifyType(FileUtil::IOFile& file); + + /** * Load the bootable file * @return ResultStatus result of function */ |