1
0
Fork 0
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; break;
} }
// CIA file format...
case FileType::CIA:
return ResultStatus::ErrorNotImplemented;
// Error occurred durring IdentifyFile... // Error occurred durring IdentifyFile...
case FileType::Error: case FileType::Error: