소스 검색

Properly indicate that CIA support is not implemented yet

Make `Loader::LoadFile` return an `ErrorNotImplemented` if you call
it on a CIA file.
Benjamin Barenblat 11 년 전
부모
커밋
c0a87bc89f
1개의 변경된 파일4개의 추가작업 그리고 0개의 파일을 삭제
  1. 4 0
      src/core/loader/loader.cpp

+ 4 - 0
src/core/loader/loader.cpp

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