1
0
Fork 0

Merge pull request #1033 from bbarenblat/master

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

View File

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