Merge pull request #1033 from bbarenblat/master

Handle `FileType::CIA` in `switch` statements
master
Yuri Kunde Schlesner 2015-08-15 22:40:29 +07:00
commit 0aa443a871
1 changed files with 6 additions and 0 deletions

@ -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: