1
0
Fork 1
forked from suyu/suyu

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

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: