diff options
| author | 2015-08-15 16:05:38 -0400 | |
|---|---|---|
| committer | 2015-08-15 16:05:38 -0400 | |
| commit | c0a87bc89f0c7fee0a3f3371b7b60b4cebb248b1 (patch) | |
| tree | 0d4214719de96b803ac9701068f2f8bbcfd7bbe2 /src/core/loader | |
| parent | Give CIA file type a name (diff) | |
| download | yuzu-c0a87bc89f0c7fee0a3f3371b7b60b4cebb248b1.tar.gz yuzu-c0a87bc89f0c7fee0a3f3371b7b60b4cebb248b1.tar.xz yuzu-c0a87bc89f0c7fee0a3f3371b7b60b4cebb248b1.zip | |
Properly indicate that CIA support is not implemented yet
Make `Loader::LoadFile` return an `ErrorNotImplemented` if you call
it on a CIA file.
Diffstat (limited to 'src/core/loader')
| -rw-r--r-- | src/core/loader/loader.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/core/loader/loader.cpp b/src/core/loader/loader.cpp index ec2731873..062291006 100644 --- a/src/core/loader/loader.cpp +++ b/src/core/loader/loader.cpp | |||
| @@ -136,6 +136,10 @@ ResultStatus LoadFile(const std::string& filename) { | |||
| 136 | break; | 136 | break; |
| 137 | } | 137 | } |
| 138 | 138 | ||
| 139 | // CIA file format... | ||
| 140 | case FileType::CIA: | ||
| 141 | return ResultStatus::ErrorNotImplemented; | ||
| 142 | |||
| 139 | // Error occurred durring IdentifyFile... | 143 | // Error occurred durring IdentifyFile... |
| 140 | case FileType::Error: | 144 | case FileType::Error: |
| 141 | 145 | ||