diff --git a/src/core/file_sys/ncch_container.cpp b/src/core/file_sys/ncch_container.cpp index 651b0d307..bb972c431 100644 --- a/src/core/file_sys/ncch_container.cpp +++ b/src/core/file_sys/ncch_container.cpp @@ -137,7 +137,6 @@ Loader::ResultStatus NCCHContainer::LoadHeader() { if (has_header) return Loader::ResultStatus::Success; if (!file.IsOpen()) { - return Loader::ResultStatus::Error; } diff --git a/src/core/hle/service/am/am.cpp b/src/core/hle/service/am/am.cpp index 4c1fdc33d..f3d7ea985 100644 --- a/src/core/hle/service/am/am.cpp +++ b/src/core/hle/service/am/am.cpp @@ -36,9 +36,8 @@ namespace { bool HasSupportedFileExtension(std::string path) { - static const std::array extensions = {{".3ds", ".3dsx", ".elf", ".axf", ".cci", - ".cxi" - ".app"}}; + static const std::array extensions = { + {".3ds", ".3dsx", ".elf", ".axf", ".cci", ".cxi", ".app"}}; const auto file_ext = FileUtil::GetExtensionFromFilename(path); return std::find(extensions.begin(), extensions.end(), file_ext) != extensions.end(); }