Add CCI support

This commit is contained in:
wheremyfoodat 2023-07-13 12:49:25 +03:00 committed by GitHub
parent c8f4ec2a11
commit ddb18662cd
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -362,7 +362,7 @@ bool Emulator::loadROM(const std::filesystem::path& path) {
if (extension == ".elf" || extension == ".axf")
success = loadELF(path);
else if (extension == ".3ds")
else if (extension == ".3ds" || extension == ".cci")
success = loadNCSD(path, ROMType::NCSD);
else if (extension == ".cxi" || extension == ".app")
success = loadNCSD(path, ROMType::CXI);
@ -463,4 +463,4 @@ void Emulator::pollHttpServer() {
httpServer.pendingAction.notify_all();
}
}
#endif
#endif