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.
This commit is contained in:
parent
cd80471c90
commit
724c19a307
19 changed files with 257 additions and 169 deletions
|
@ -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;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue