summaryrefslogtreecommitdiff
path: root/src/core/loader/nca.h
diff options
context:
space:
mode:
authorGravatar Lioncash2018-12-05 17:42:41 -0500
committerGravatar Lioncash2018-12-05 17:49:34 -0500
commitde323851b41901d71708504ee71c2aac73990bf7 (patch)
treef2c770433a249595a516ff9234ab63b875250650 /src/core/loader/nca.h
parentMerge pull request #1859 from heapo/lut_array_codegen (diff)
downloadyuzu-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/nca.h')
-rw-r--r--src/core/loader/nca.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/loader/nca.h b/src/core/loader/nca.h
index 95d9b73a1..cbbe701d2 100644
--- a/src/core/loader/nca.h
+++ b/src/core/loader/nca.h
@@ -29,7 +29,7 @@ public:
29 */ 29 */
30 static FileType IdentifyType(const FileSys::VirtualFile& file); 30 static FileType IdentifyType(const FileSys::VirtualFile& file);
31 31
32 FileType GetFileType() override { 32 FileType GetFileType() const override {
33 return IdentifyType(file); 33 return IdentifyType(file);
34 } 34 }
35 35