diff options
| author | 2018-12-05 17:42:41 -0500 | |
|---|---|---|
| committer | 2018-12-05 17:49:34 -0500 | |
| commit | de323851b41901d71708504ee71c2aac73990bf7 (patch) | |
| tree | f2c770433a249595a516ff9234ab63b875250650 /src/core/loader/nax.cpp | |
| parent | Merge pull request #1859 from heapo/lut_array_codegen (diff) | |
| download | yuzu-de323851b41901d71708504ee71c2aac73990bf7.tar.gz yuzu-de323851b41901d71708504ee71c2aac73990bf7.tar.xz yuzu-de323851b41901d71708504ee71c2aac73990bf7.zip | |
loaders: Make GetFileType() a const qualified member function
No implementations actually modify instance state (and it would be
questionable to do that in the first place given the name), so we can
make this a const member function.
Diffstat (limited to 'src/core/loader/nax.cpp')
| -rw-r--r-- | src/core/loader/nax.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/loader/nax.cpp b/src/core/loader/nax.cpp index 42f4a777b..a093e3d36 100644 --- a/src/core/loader/nax.cpp +++ b/src/core/loader/nax.cpp | |||
| @@ -37,7 +37,7 @@ FileType AppLoader_NAX::IdentifyType(const FileSys::VirtualFile& file) { | |||
| 37 | return IdentifyTypeImpl(nax); | 37 | return IdentifyTypeImpl(nax); |
| 38 | } | 38 | } |
| 39 | 39 | ||
| 40 | FileType AppLoader_NAX::GetFileType() { | 40 | FileType AppLoader_NAX::GetFileType() const { |
| 41 | return IdentifyTypeImpl(*nax); | 41 | return IdentifyTypeImpl(*nax); |
| 42 | } | 42 | } |
| 43 | 43 | ||