Add support for .app files

This commit is contained in:
wheremyfoodat 2023-07-07 04:14:55 +03:00 committed by GitHub
parent e40f8e8a29
commit 433330a74c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -289,7 +289,7 @@ bool Emulator::loadROM(const std::filesystem::path& path) {
return loadELF(path); return loadELF(path);
else if (extension == ".3ds") else if (extension == ".3ds")
return loadNCSD(path, ROMType::NCSD); return loadNCSD(path, ROMType::NCSD);
else if (extension == ".cxi") else if (extension == ".cxi" || extension == ".app")
return loadNCSD(path, ROMType::CXI); return loadNCSD(path, ROMType::CXI);
else { else {
printf("Unknown file type\n"); printf("Unknown file type\n");