diff options
| author | 2021-04-27 12:05:34 -0400 | |
|---|---|---|
| committer | 2021-04-27 12:48:15 -0400 | |
| commit | 724c19a307f31ce1122fb8047c86d5a126d0860f (patch) | |
| tree | 605b89f42d7897aac46f06add54c34201d9354bd /src/core/loader/kip.h | |
| parent | Merge pull request #6246 from lioncash/shadow (diff) | |
| download | yuzu-724c19a307f31ce1122fb8047c86d5a126d0860f.tar.gz yuzu-724c19a307f31ce1122fb8047c86d5a126d0860f.tar.xz yuzu-724c19a307f31ce1122fb8047c86d5a126d0860f.zip | |
loader: Resolve instances of variable shadowing
Eliminates variable shadowing cases across all the loaders to bring us
closer to enabling variable shadowing as an error in core.
Diffstat (limited to 'src/core/loader/kip.h')
| -rw-r--r-- | src/core/loader/kip.h | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/src/core/loader/kip.h b/src/core/loader/kip.h index 14a85e295..2fe636f01 100644 --- a/src/core/loader/kip.h +++ b/src/core/loader/kip.h | |||
| @@ -22,11 +22,13 @@ public: | |||
| 22 | ~AppLoader_KIP() override; | 22 | ~AppLoader_KIP() override; |
| 23 | 23 | ||
| 24 | /** | 24 | /** |
| 25 | * Returns the type of the file | 25 | * Identifies whether or not the given file is a KIP. |
| 26 | * @param file open file | 26 | * |
| 27 | * @return FileType found, or FileType::Error if this loader doesn't know it | 27 | * @param in_file The file to identify. |
| 28 | * | ||
| 29 | * @return FileType::KIP if found, or FileType::Error if unknown. | ||
| 28 | */ | 30 | */ |
| 29 | static FileType IdentifyType(const FileSys::VirtualFile& file); | 31 | static FileType IdentifyType(const FileSys::VirtualFile& in_file); |
| 30 | 32 | ||
| 31 | FileType GetFileType() const override; | 33 | FileType GetFileType() const override; |
| 32 | 34 | ||