diff options
author | bunnei <bunneidev@gmail.com> | 2018-01-20 14:55:54 -0500 |
---|---|---|
committer | bunnei <bunneidev@gmail.com> | 2018-01-20 14:59:44 -0500 |
commit | 023aef053c96c92c9ea15d067f7d2cb7150585d6 (patch) | |
tree | 6b8a4c0dc9aae92ff172a2715969b8551e9d14b1 /src/core/loader/loader.h | |
parent | 2dafd0d287338981d510c19edaeb720c332a968f (diff) |
loader: Refactor to also pass filepath into IdentifyType.
Diffstat (limited to 'src/core/loader/loader.h')
-rw-r--r-- | src/core/loader/loader.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/core/loader/loader.h b/src/core/loader/loader.h index dd6bb4e64..f7828b7ad 100644 --- a/src/core/loader/loader.h +++ b/src/core/loader/loader.h @@ -37,9 +37,10 @@ enum class FileType { /** * Identifies the type of a bootable file based on the magic value in its header. * @param file open file + * @param filepath Path of the file that we are opening. * @return FileType of file */ -FileType IdentifyFile(FileUtil::IOFile& file); +FileType IdentifyFile(FileUtil::IOFile& file, const std::string& filepath); /** * Identifies the type of a bootable file based on the magic value in its header. |