diff options
author | Lioncash <mathew1800@gmail.com> | 2021-04-27 18:05:34 +0200 |
---|---|---|
committer | Lioncash <mathew1800@gmail.com> | 2021-04-27 18:48:15 +0200 |
commit | 724c19a307f31ce1122fb8047c86d5a126d0860f (patch) | |
tree | 605b89f42d7897aac46f06add54c34201d9354bd /src/core/loader/nax.h | |
parent | Merge pull request #6246 from lioncash/shadow (diff) | |
download | yuzu-724c19a307f31ce1122fb8047c86d5a126d0860f.tar yuzu-724c19a307f31ce1122fb8047c86d5a126d0860f.tar.gz yuzu-724c19a307f31ce1122fb8047c86d5a126d0860f.tar.bz2 yuzu-724c19a307f31ce1122fb8047c86d5a126d0860f.tar.lz yuzu-724c19a307f31ce1122fb8047c86d5a126d0860f.tar.xz yuzu-724c19a307f31ce1122fb8047c86d5a126d0860f.tar.zst yuzu-724c19a307f31ce1122fb8047c86d5a126d0860f.zip |
Diffstat (limited to 'src/core/loader/nax.h')
-rw-r--r-- | src/core/loader/nax.h | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/src/core/loader/nax.h b/src/core/loader/nax.h index a5b5e2ae1..68427c1cf 100644 --- a/src/core/loader/nax.h +++ b/src/core/loader/nax.h @@ -23,15 +23,17 @@ class AppLoader_NCA; /// Loads a NAX file class AppLoader_NAX final : public AppLoader { public: - explicit AppLoader_NAX(FileSys::VirtualFile file); + explicit AppLoader_NAX(FileSys::VirtualFile file_); ~AppLoader_NAX() override; /** - * 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 a NAX file. + * + * @param nax_file The file to identify. + * + * @return FileType::NAX, or FileType::Error if the file is not a NAX file. */ - static FileType IdentifyType(const FileSys::VirtualFile& file); + static FileType IdentifyType(const FileSys::VirtualFile& nax_file); FileType GetFileType() const override; |