diff options
| author | 2018-08-11 10:35:47 +1000 | |
|---|---|---|
| committer | 2018-08-11 10:35:47 +1000 | |
| commit | b76ddb7647cbb390cce4143d91a1db171b0fa503 (patch) | |
| tree | a6e2e334e82b035923c41458150604dd5fb31d65 /src/core/loader/loader.h | |
| parent | Added IsUserRegistrationRequestPermitted (diff) | |
| parent | Merge pull request #1007 from MerryMage/dynarmic (diff) | |
| download | yuzu-b76ddb7647cbb390cce4143d91a1db171b0fa503.tar.gz yuzu-b76ddb7647cbb390cce4143d91a1db171b0fa503.tar.xz yuzu-b76ddb7647cbb390cce4143d91a1db171b0fa503.zip | |
Merge remote-tracking branch 'origin/master' into better-account
Diffstat (limited to 'src/core/loader/loader.h')
| -rw-r--r-- | src/core/loader/loader.h | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/src/core/loader/loader.h b/src/core/loader/loader.h index e69ab85ef..6a9e5a68b 100644 --- a/src/core/loader/loader.h +++ b/src/core/loader/loader.h | |||
| @@ -43,14 +43,6 @@ enum class FileType { | |||
| 43 | FileType IdentifyFile(FileSys::VirtualFile file); | 43 | FileType IdentifyFile(FileSys::VirtualFile file); |
| 44 | 44 | ||
| 45 | /** | 45 | /** |
| 46 | * Identifies the type of a bootable file based on the magic value in its header. | ||
| 47 | * @param file_name path to file | ||
| 48 | * @return FileType of file. Note: this will return FileType::Unknown if it is unable to determine | ||
| 49 | * a filetype, and will never return FileType::Error. | ||
| 50 | */ | ||
| 51 | FileType IdentifyFile(const std::string& file_name); | ||
| 52 | |||
| 53 | /** | ||
| 54 | * Guess the type of a bootable file from its name | 46 | * Guess the type of a bootable file from its name |
| 55 | * @param name String name of bootable file | 47 | * @param name String name of bootable file |
| 56 | * @return FileType of file. Note: this will return FileType::Unknown if it is unable to determine | 48 | * @return FileType of file. Note: this will return FileType::Unknown if it is unable to determine |
| @@ -61,7 +53,7 @@ FileType GuessFromFilename(const std::string& name); | |||
| 61 | /** | 53 | /** |
| 62 | * Convert a FileType into a string which can be displayed to the user. | 54 | * Convert a FileType into a string which can be displayed to the user. |
| 63 | */ | 55 | */ |
| 64 | const char* GetFileTypeString(FileType type); | 56 | std::string GetFileTypeString(FileType type); |
| 65 | 57 | ||
| 66 | /// Return type for functions in Loader namespace | 58 | /// Return type for functions in Loader namespace |
| 67 | enum class ResultStatus { | 59 | enum class ResultStatus { |