Merge pull request #1033 from bbarenblat/master
Handle `FileType::CIA` in `switch` statements
This commit is contained in:
commit
0aa443a871
|
@ -77,6 +77,8 @@ static const char* GetFileTypeString(FileType type) {
|
|||
return "NCSD";
|
||||
case FileType::CXI:
|
||||
return "NCCH";
|
||||
case FileType::CIA:
|
||||
return "CIA";
|
||||
case FileType::ELF:
|
||||
return "ELF";
|
||||
case FileType::THREEDSX:
|
||||
|
@ -134,6 +136,10 @@ ResultStatus LoadFile(const std::string& filename) {
|
|||
break;
|
||||
}
|
||||
|
||||
// CIA file format...
|
||||
case FileType::CIA:
|
||||
return ResultStatus::ErrorNotImplemented;
|
||||
|
||||
// Error occurred durring IdentifyFile...
|
||||
case FileType::Error:
|
||||
|
||||
|
|
Loading…
Reference in a new issue