forked from ShuriZma/suyu
1
0
Fork 0

Properly indicate that CIA support is not implemented yet

Make `Loader::LoadFile` return an `ErrorNotImplemented` if you call
it on a CIA file.
This commit is contained in:
Benjamin Barenblat 2015-08-15 16:05:38 -04: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

View File

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