Properly indicate that CIA support is not implemented yet

Make `Loader::LoadFile` return an `ErrorNotImplemented` if you call
it on a CIA file.
master
Benjamin Barenblat 2015-08-15 16:05:38 +07:00
parent cd8be1846b
commit c0a87bc89f
No known key found for this signature in database
GPG Key ID: 9E730149EB91C53B
1 changed files with 4 additions and 0 deletions

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