summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZach Hilman <zachhilman@gmail.com>2018-08-10 02:47:46 +0200
committerZach Hilman <zachhilman@gmail.com>2018-08-12 04:50:08 +0200
commit5b4119fa7fae78ac5fd24470b357fc162984f63d (patch)
tree465a1ff3adda1755c186f643d776bedc0129f9bb
parentvfs: Add ConcatenatedVfsFile (diff)
downloadyuzu-5b4119fa7fae78ac5fd24470b357fc162984f63d.tar
yuzu-5b4119fa7fae78ac5fd24470b357fc162984f63d.tar.gz
yuzu-5b4119fa7fae78ac5fd24470b357fc162984f63d.tar.bz2
yuzu-5b4119fa7fae78ac5fd24470b357fc162984f63d.tar.lz
yuzu-5b4119fa7fae78ac5fd24470b357fc162984f63d.tar.xz
yuzu-5b4119fa7fae78ac5fd24470b357fc162984f63d.tar.zst
yuzu-5b4119fa7fae78ac5fd24470b357fc162984f63d.zip
-rw-r--r--src/core/loader/loader.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/core/loader/loader.cpp b/src/core/loader/loader.cpp
index 2f5bfc67c..0e690abb3 100644
--- a/src/core/loader/loader.cpp
+++ b/src/core/loader/loader.cpp
@@ -46,6 +46,8 @@ FileType IdentifyFile(FileSys::VirtualFile file) {
FileType GuessFromFilename(const std::string& name) {
if (name == "main")
return FileType::DeconstructedRomDirectory;
+ if (name == "00")
+ return FileType::NCA;
const std::string extension =
Common::ToLower(std::string(FileUtil::GetExtensionFromFilename(name)));