diff options
Diffstat (limited to 'src/core/loader/elf.h')
-rw-r--r-- | src/core/loader/elf.h | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/src/core/loader/elf.h b/src/core/loader/elf.h index 2067932c7..890299a20 100644 --- a/src/core/loader/elf.h +++ b/src/core/loader/elf.h @@ -20,17 +20,19 @@ public: explicit AppLoader_ELF(FileSys::VirtualFile file); /** - * Returns the type of the file - * @param file open file - * @return FileType found, or FileType::Error if this loader doesn't know it + * Identifies whether or not the given file is an ELF file. + * + * @param elf_file The file to identify. + * + * @return FileType::ELF, or FileType::Error if the file is not an ELF file. */ - static FileType IdentifyType(const FileSys::VirtualFile& file); + static FileType IdentifyType(const FileSys::VirtualFile& elf_file); FileType GetFileType() const override { return IdentifyType(file); } - LoadResult Load(Kernel::Process& process, Core::System& system) override; + LoadResult Load(Kernel::KProcess& process, Core::System& system) override; }; } // namespace Loader |