mirror of
https://github.com/yuzu-emu/yuzu-android.git
synced 2025-06-15 06:28:07 -05:00
Loader: Guess filetype from the magic, or fallback to the extension.
This commit is contained in:
@ -17,6 +17,13 @@ class AppLoader_THREEDSX final : public AppLoader {
|
||||
public:
|
||||
AppLoader_THREEDSX(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
|
||||
|
Reference in New Issue
Block a user