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";
|
return "NCSD";
|
||||||
case FileType::CXI:
|
case FileType::CXI:
|
||||||
return "NCCH";
|
return "NCCH";
|
||||||
|
case FileType::CIA:
|
||||||
|
return "CIA";
|
||||||
case FileType::ELF:
|
case FileType::ELF:
|
||||||
return "ELF";
|
return "ELF";
|
||||||
case FileType::THREEDSX:
|
case FileType::THREEDSX:
|
||||||
|
@ -134,6 +136,10 @@ ResultStatus LoadFile(const std::string& filename) {
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// CIA file format...
|
||||||
|
case FileType::CIA:
|
||||||
|
return ResultStatus::ErrorNotImplemented;
|
||||||
|
|
||||||
// Error occurred durring IdentifyFile...
|
// Error occurred durring IdentifyFile...
|
||||||
case FileType::Error:
|
case FileType::Error:
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue