diff options
| author | 2016-05-25 16:40:36 -0400 | |
|---|---|---|
| committer | 2016-05-25 16:40:36 -0400 | |
| commit | f50a32bfce099eeff510e5e314b91dcf65d317ac (patch) | |
| tree | 5bc0347199d722861ba09897e6c6e9015cf026bc /src/core/loader/ncch.h | |
| parent | New3DS: Minor style cleanup to #1520. (diff) | |
| parent | Loader: Split SMDH into its own header and import helpers from QGameList (diff) | |
| download | yuzu-f50a32bfce099eeff510e5e314b91dcf65d317ac.tar.gz yuzu-f50a32bfce099eeff510e5e314b91dcf65d317ac.tar.xz yuzu-f50a32bfce099eeff510e5e314b91dcf65d317ac.zip | |
Merge pull request #1817 from linkmauve/smdh-stuff
Improve SMDH support in loaders and frontends
Diffstat (limited to 'src/core/loader/ncch.h')
| -rw-r--r-- | src/core/loader/ncch.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/core/loader/ncch.h b/src/core/loader/ncch.h index fd852c3de..75609ee57 100644 --- a/src/core/loader/ncch.h +++ b/src/core/loader/ncch.h | |||
| @@ -174,6 +174,14 @@ public: | |||
| 174 | static FileType IdentifyType(FileUtil::IOFile& file); | 174 | static FileType IdentifyType(FileUtil::IOFile& file); |
| 175 | 175 | ||
| 176 | /** | 176 | /** |
| 177 | * Returns the type of this file | ||
| 178 | * @return FileType corresponding to the loaded file | ||
| 179 | */ | ||
| 180 | FileType GetFileType() override { | ||
| 181 | return IdentifyType(file); | ||
| 182 | } | ||
| 183 | |||
| 184 | /** | ||
| 177 | * Load the application | 185 | * Load the application |
| 178 | * @return ResultStatus result of function | 186 | * @return ResultStatus result of function |
| 179 | */ | 187 | */ |